lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: Best strategy to index document with Solr
Date Sat, 01 Mar 2014 21:29:32 GMT
Well, it depends on what you're trying to accomplish. Indexing in
batches will be less work on the Solr side (assuming by indexing one
doc at a time you mean index then commit).

If your users can stand the latency, just gathering them up each hour
or something is certainly simpler...

Best,
Erick

On Sat, Mar 1, 2014 at 9:50 AM, jurio <julienhacc@gmail.com> wrote:
> Im using Solr Version 4 (api spring data solr to index,get...documents) and i
> have to decide which strategy im going to apply for index my documents.
>
> *I hesitate between 2 strategies :
> *
> 1) Launch a batch periodically to index all documents
>
> 2) Only Index the document when this one has changed
>
> Which strategy is the best ? maybe a mix??or another.. I have some ideas
> about cons and dis of each but i don't have a big experience with solr.
>
> Thanks!
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Best-strategy-to-index-document-with-Solr-tp4120614.html
> Sent from the Lucene - Java Developer mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message