You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2018/09/07 08:28:00 UTC

[jira] [Created] (LUCENE-8490) Separate scoring features from Queries

Alan Woodward created LUCENE-8490:
-------------------------------------

             Summary: Separate scoring features from Queries
                 Key: LUCENE-8490
                 URL: https://issues.apache.org/jira/browse/LUCENE-8490
             Project: Lucene - Core
          Issue Type: New Feature
            Reporter: Alan Woodward
            Assignee: Alan Woodward


We currently have two types of 'purely scoring' queries, produced by static methods on FeatureField and more recently on LongPoint (for distance or recency boosting).  These don't really make sense as standalone queries, and are designed to be used as supplementary SHOULD clauses in boolean queries.  I think these would be easier to use (and would prevent misuses, such as using them in FILTER or MUST clauses) if we designated them as Features instead, with a separate class hierarchy, and add a specific feature() method to BooleanQuery.Builder.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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