lucene-java-user mailing list archives

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

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).

Thanks,
Ben


---------------------------------------------------------------------
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