lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lucene4varma <varmauppalap...@gmail.com>
Subject Optimise Indexing time using lucene..
Date Tue, 08 Apr 2008 22:23:07 GMT

Hi all,

I am new to lucene and am using it for text search in my web application,
and for that i need to index records in database.
We are using jdbc directory to store the indexes. Now the problem is when is
start the process of indexing the records for the first time it is taking
huge amount of time. Following is the code for indexing. 

rs = st.executequery(); // returns 2 million records
while(rs.next()) {
    create java object .............;
    index java record into JDBC directory...;
}

The above process takes me huge amount of time for 2 million records.
Approximately it is taking 3-4 business days to run the process. 
Can any one please suggest me and approach by which i could cut down this
time.

Thanks in advance,
Varma
-- 
View this message in context: http://www.nabble.com/Optimise-Indexing-time-using-lucene..-tp16575115p16575115.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


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


Mime
View raw message