lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maik Schreiber <>
Subject Non-scoring fields
Date Mon, 24 Oct 2005 12:29:04 GMT

Just a quick question: How do I add non-scoring fields to a query? Set boost to 0?

To be more specific, my documents have a "permissions" field containing the
names of groups who are allowed to access the document. When searching, I
search for the particular user's group (a user is in exactly one group).
Searching in the "permissions" field adds to the score, however, so that more
restrictive documents (having fewer groups in the field) tend to get a higher
score, thus showing up more towards the top of the list. I just don't want
that, though...

Maik Schreiber   *

GPG public key:
Key fingerprint: CF19 AFCE 6E3D 5443 9599 18B5 5640 1F11 D713

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

View raw message