[ 
https://issues.apache.org/jira/browse/SOLR-8867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yonik Seeley updated SOLR-8867:
-------------------------------
    Attachment: SOLR-8867.patch

Here's an updated patch that modifies a random range test to include docs w/o a 
value in the field and also queries across negative values.

This also changes getRangeScorer() to use LeafReaderContext to be consistent 
with everything else.

All tests pass, and I plan on committing shortly.

> frange / ValueSourceRangeFilter / FunctionValues.getRangeScorer should not 
> match documents w/o a value
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-8867
>                 URL: https://issues.apache.org/jira/browse/SOLR-8867
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>             Fix For: 6.0
>
>         Attachments: SOLR-8867.patch, SOLR-8867.patch
>
>
> {!frange} currently can match documents w/o a value (because of a default 
> value of 0).
> This only existed historically because we didn't have info about what fields 
> had a value for numerics, and didn't have exists() on FunctionValues.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to