lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From savageboy <eingma...@hotmail.com>
Subject Fetches the hits very slow (when the date sorting) !
Date Wed, 09 Apr 2008 06:27:02 GMT

Hello everyone,
I have made a search project by use of Lucene2.0
But when I use date sorting, the server is running very slow for the result
getting(about 3 sec but I dont sort the results the time of it is about
0.019 sec, there are 110000 results to be hit).

document.add(new Field(docFieldName, StringUtils.defaultIfEmpty(contentStr,
""), storeFlag , tokenizeFlag));

storeFlag is true
tokenizeFlag is false

so it means the Field dateTime should be stored and be not tokenized!

If you have some idea about this issue I met, plz let me know!
Thanks a lot and best Regards!


-- 
View this message in context: http://www.nabble.com/Fetches-the-hits-very-slow-%28when-the-date-sorting%29-%21-tp16580375p16580375.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


Mime
View raw message