lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tri Cao <tm...@me.com>
Subject custom scoring
Date Fri, 06 Apr 2012 17:06:59 GMT
Hi all,

What would be the best approach for a custom scoring that requires a "global" view of the
result set. For example, I have a field call "color" and I would like to have constraints
that there are at most 3 docs with color:red, 4 docs with color:blue in the first 16 hits.
And the items should still be sorted in by their relevance scores after the constraints are
applied.

Thanks,

Tri.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message