Hello, Aviran. but searcher.explain returns that idf's and scores were still counted. correct me if i am wrong.
MAENN> AFAIK when you sort Lucene does not calculate the relevance score. MAENN> Aviran MAENN> http://www.aviransplace.com MAENN> -----Original Message----- MAENN> From: Yura Smolsky [mailto:[EMAIL PROTECTED] MAENN> Sent: Monday, September 25, 2006 4:39 AM MAENN> To: java-user@lucene.apache.org MAENN> Subject: how to enhance speed of sorted search MAENN> Hello, java-user. MAENN> I have a set of documents with two fields: MAENN> 1. "summary" which is tokenized, stored. it contains some text 2. MAENN> "date", which is untokenized, stored. it contains seconds from epoch MAENN> aligned to the right and padded with zeroes on the left MAENN> I perform searches which are sorted by "date" field. MAENN> my query is phrase one - summary:"some text bla bla" MAENN> my sort is SortField("modified", SortField.INT, True) MAENN> I don't need to sort documents using "summary" field by relevance. I MAENN> think that by default Lucene spends some operations to score documents MAENN> using query. MAENN> Is there any way to speed up queries? Maybe should I replace query with MAENN> filter? MAENN> The problem that I have very big index, like 80 Gb and I have a lot of MAENN> different queries (about 480 per minute). MAENN> -- MAENN> Yura Smolsky MAENN> --------------------------------------------------------------------- MAENN> To unsubscribe, e-mail: [EMAIL PROTECTED] MAENN> For additional commands, e-mail: [EMAIL PROTECTED] -- Yura Smolsky, http://altervisionmedia.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]