If your detection algorytims are simple enough, implement them. If you think
they will be more expensive them updating all the index, don't detect
change.

Another thing to take into account is how much from your index changes. If
there are litle docs changing, re-indexing everything will be a waste of
processor cycles.

2008/6/10 wojtekpia <[EMAIL PROTECTED]>:

>
> Hi,
>
> I'm trying to optimize how I update documents in my index. My optimizations
> will depend on how Solr behaves in the following scenarios:
>
> 1. I update a document with itself (i.e. no changes). Does Solr detect that
> the document is unchanged and basically ignore my request?
>
> 2. I change only one field value in a document and then update it (leaving
> several other field values unchanged). Does Solr leave the "unchanged" part
> alone in the index?
>
> I'm currently considering two options for updating my index: a) always send
> all items for re-indexing, and b) do some change-detection, and only send
> updated documents for re-indexing.
>
> Any insight is appreciated.
>
> Thanks!
>
>
> Wojtek
> --
> View this message in context:
> http://www.nabble.com/Update-Behvior-tp17762182p17762182.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
>


-- 
Alexander Ramos Jardim

Reply via email to