[
https://issues.apache.org/jira/browse/LUCENE-6463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14529851#comment-14529851
]
David Smiley commented on LUCENE-6463:
--------------------------------------
I'm glad you noticed my Scorer with the TODO :-)
I was reviewing the patch but hit a dead-end in finding the RandomAccessWeight.
Please put that in the patch. Even without seeing R.A.W., it's nice to see in
this patch that many scorers and weights go away or get simplified.
Other opportunities to use the Constant scorer?:
* JoinQuery.JoinScorer
* SolrConstantScoreQuery.ConstantScorer (say with a factory method as a
substitute for that constructor),
* MatchAllDocsQuery with a DocIdSetIterator.all
* Filter.createWeight.scorer
> Share more logic between our approximated queries
> -------------------------------------------------
>
> Key: LUCENE-6463
> URL: https://issues.apache.org/jira/browse/LUCENE-6463
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-6463.patch
>
>
> We have several queries that support approximations, and in particular the
> ones based on random-access (doc values terms/range, FieldValueFilter, ...)
> duplicate some logic.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]