You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by jame vaalet <ja...@gmail.com> on 2012/05/21 21:05:18 UTC
is commit a sequential process in solr indexing
hi,
my use case here is to search all the incoming documents for certain
comination of words which are pre-determined. So what am doing here is,
create a batch of x docs according to their creation date, index them,
commit them and search them for query (pre-determined).
My question is, if i have to make the entire process multi threaded and two
threads are trying to commit two different set of batchs, will the commit
happen in parallel. what if am trying to commit to different solr-cores ?
--
-JAME
Re: is commit a sequential process in solr indexing
Posted by findbestopensource <fi...@gmail.com>.
Yes. Lucene / Solr supports multi threaded environment. You could do commit
from two different threads to same core or different core.
Regards
Aditya
www.findbestopensource.com
On Tue, May 22, 2012 at 12:35 AM, jame vaalet <ja...@gmail.com> wrote:
> hi,
> my use case here is to search all the incoming documents for certain
> comination of words which are pre-determined. So what am doing here is,
> create a batch of x docs according to their creation date, index them,
> commit them and search them for query (pre-determined).
> My question is, if i have to make the entire process multi threaded and two
> threads are trying to commit two different set of batchs, will the commit
> happen in parallel. what if am trying to commit to different solr-cores ?
>
> --
>
> -JAME
>