lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "G.Long" <jde...@gmail.com>
Subject Re: Making lucene indexing multi threaded
Date Mon, 27 Oct 2014 15:51:56 GMT
Like Nischal, did you check that you don't call the commit() method 
after each indexed document? :)

Regards,
Gary Long

Le 27/10/2014 16:47, Jason Wu a écrit :
> Hi Fuad,
>
> Thanks for your suggestions and quick response. I am using a single-threaded
> indexing way to add docs. I will try the multiple-threaded indexing to see
> if my issue will be resolved.
>
> This issue only exists after I upgraded lucene version from 2.4.1(with Java
> 1.6) to 4.8.1(with Java 1.7). I don't have this problem in old lucene
> version.
>
> The indexing speed is fast when i start the application, which only takes 3
> mins indexing. But after my application running for a while(a day, etc),
> once i send a JMX call to my application to reindex docs, the indexing speed
> will slow down and take 22 mins.
>
> Did you have any similar experience like the above before?
>
> Thank you,
> Jason
>
>
>
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Making-lucene-indexing-multi-threaded-tp4087830p4166116.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>


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


Mime
View raw message