Re: Indexation takes a lot of time :(

2011-04-15 Thread Simon Willnauer
On Wed, Apr 6, 2011 at 11:50 AM, findbestopensource wrote: > Hello daniel, > > The code seems to be fine. I think you are calculating the time for entire > program which may read the data from external source and prepare the array > list. Just calculate time only for indexing. > > Regards > Aditya

Re: Indexation takes a lot of time :(

2011-04-06 Thread findbestopensource
Hello daniel, The code seems to be fine. I think you are calculating the time for entire program which may read the data from external source and prepare the array list. Just calculate time only for indexing. Regards Aditya www.findbestopensource.com On Wed, Apr 6, 2011 at 2:38 PM, ZYWALEWSKI,

Re: Indexation takes a lot of time :(

2011-04-06 Thread Ian Lea
15 minutes for 28k docs does sound very slow. In my experience it's usually the reading of the raw data from database or network or wherever that turns out to be the problem. You could easily check that by commenting out the lucene calls in your code. See also http://wiki.apache.org/lucene-java/