lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Amoretti" <>
Subject simple (?) question about scoring
Date Thu, 02 Nov 2006 14:36:48 GMT
Hello, I am completely new at Lucene. I browsed the web site and the
source code, searching for an example which illustrates the following

given a Query and a Document, return the score

To me, this is a very basic operation, but I cannot find a class which
easily provide this functionality.

E.g. the Similarity class provides methods which return the factors of
the scoring formula, but I would like a method which returns the score

Is this possible?

Is the Scorer class the solution? Javadoc is too poor to understand
how to use it. Btw, I do not have an index, I have 1 Document, and 1


Michele Amoretti, Ph.D.
Distributed Systems Group
Dipartimento di Ingegneria dell'Informazione
Università degli Studi di Parma

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

View raw message