FAQ
Hi,
The new addition of the class CustomScoreQuery is very useful and
powerful in customizing the score of one query using the indexed field
values.
Another feature that I am looking for in Lucene is the ability to
combine the scores of multiple (sub)queries in a way different from the
BooleanQuery. BoostingQuery is one such attempt but it's not very
flexible (e.g. the damping is independent of the scores of sub queries).
Does anyone know any other existing examples similar to CustomScoreQuery
but deal with multiple sub queries?

Thanks!

Jay

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org

Search Discussions

  • Doron Cohen at Aug 7, 2008 at 10:09 am
    When combining any sub queries, a scorer has at least two things to decide:
    which docs to match, and once matched, how to score. Boolean Queries applies
    specific logics for this, and some queries allow some control of the way to
    score. For current CustomScoreQuery things are more straightforward - the
    single sub-query dictates which docs match, the VSQs are expected to provide
    a score for any doc matched by the SQ, and the CSQ then combines the score,
    in a way that can be customized.

    Can you provide more details on your use case? Perhaps it can be answered
    with existing Lucene mechanisms.

    Doron

    Jay wrote:
    Hi,
    The new addition of the class CustomScoreQuery is very useful and powerful
    in customizing the score of one query using the indexed field values.
    Another feature that I am looking for in Lucene is the ability to combine
    the scores of multiple (sub)queries in a way different from the
    BooleanQuery. BoostingQuery is one such attempt but it's not very flexible
    (e.g. the damping is independent of the scores of sub queries).
    Does anyone know any other existing examples similar to CustomScoreQuery
    but deal with multiple sub queries?

    Thanks!

    Jay

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupjava-user @
categorieslucene
postedAug 6, '08 at 9:13p
activeAug 7, '08 at 10:09a
posts2
users2
websitelucene.apache.org

2 users in discussion

Doron Cohen: 1 post Jay: 1 post

People

Translate

site design / logo © 2022 Grokbase