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

Mayya Sharipova updated SOLR-15391:
-----------------------------------
    Security:     (was: Public)

> Enable "canUsePoints" for PointFields in Solr
> ---------------------------------------------
>
>                 Key: SOLR-15391
>                 URL: https://issues.apache.org/jira/browse/SOLR-15391
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 8.9
>            Reporter: Tomas Eduardo Fernandez Lobbe
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When using "minExactCount" in queries sorted by a numeric field, Lucene can 
> skip over non-competitive docs, similarly to how it can in score based sorts, 
> but using point fields data (see LUCENE-9280). In 8.x (see LUCENE-9384) the 
> requirements for this to happen is that:

> 1. DocValues field and Point field must exist for the same name and with the 
> same data
> 2. SortField "canUsePoints" must be set to true.
> #1 is guaranteed in Solr when using Point fields with indexed=true and 
> docValues=true
> #2 means simply calling {{setCanUsePoints}} on the {{SortField}} created for 
> the numeric fields
> This is an 8.x thing only (for 9, this optimization should be already enabled)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to