lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Pasero <>
Subject How to ignore scoring for a Query?
Date Thu, 17 May 2007 12:49:15 GMT

I have two different use-cases for my queries. For the first,
performance is not too critical
and I want to sort the results by relevance (score). The second however,
is performance critical,
but the score for each result is not interesting. I guess, if it was
possible to disable scoring
for the query, I could improve performance (note that omitNorms on a
Field is not an option, due
to the first use case).

Is there a straightforward way to disable scoring for a query (its a
BooleanQuery btw with some
clauses, which can be any other query).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message