Re: why solr commit with serval docs

2014-08-07 Thread rulinma
code error by my colleague.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/why-solr-commit-with-serval-docs-tp4150583p4151822.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: why solr commit with serval docs

2014-08-01 Thread Shawn Heisey
On 8/1/2014 3:22 AM, rulinma wrote:
> I use solrconfig.xml as follow:  
> 
> 
>   ${solr.ulog.dir:}
> 
>  
>   15000 
> 5000
>   false 
> 
>  
>360 
>  50
> 
>   
>
> I use 2000 docs to commit once, but I query find that 2002,2003,2004 and so
> on, not 2000,4000,6000 increase. I don't know why?
> who can tell me ?

I cannot say for sure, but I would guess that the commit action is
initiated when the threshold is crossed ... but that it is not an atomic
operation that stops indexing right at that moment.  I bet that it takes
a few microseconds or milliseconds for the commit to begin, and in the
meantime, a few more documents get indexed.

Thanks,
Shawn



why solr commit with serval docs

2014-08-01 Thread rulinma
I use solrconfig.xml as follow:  


  ${solr.ulog.dir:}

 
  15000 
  5000
  false 

 
   360 
   50

  

I use 2000 docs to commit once, but I query find that 2002,2003,2004 and so
on, not 2000,4000,6000 increase. I don't know why?
who can tell me ?
thanks!




--
View this message in context: 
http://lucene.472066.n3.nabble.com/why-solr-commit-with-serval-docs-tp4150583.html
Sent from the Solr - User mailing list archive at Nabble.com.