lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brent Ryan <brent.r...@gmail.com>
Subject Re: SOLRJ replace document
Date Sat, 19 Oct 2013 02:21:10 GMT
So I think the issue might be related to the tech stack we're using which
is SOLR within DataStax enterprise which doesn't support atomic updates.
 But I think it must have some sort of bug around this because it doesn't
appear to work correctly for this use case when using solrj ...  Anyways,
I've contacted support so lets see what they say.


On Fri, Oct 18, 2013 at 5:51 PM, Shawn Heisey <solr@elyograg.org> wrote:

> On 10/18/2013 3:36 PM, Brent Ryan wrote:
>
>> My schema is pretty simple and has a string field called solr_id as my
>> unique key.  Once I get back to my computer I'll send some more details.
>>
>
> If you are trying to use a Map object as the value of a field, that is
> probably why it is interpreting your add request as an atomic update.  If
> this is the case, and you're doing it because you have a multivalued field,
> you can use a List object rather than a Map.
>
> If this doesn't sound like what's going on, can you share your code, or a
> simplification of the SolrJ parts of it?
>
> Thanks,
> Shawn
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message