[ 
https://issues.apache.org/jira/browse/LUCENE-9523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17198130#comment-17198130
 ] 

ASF subversion and git services commented on LUCENE-9523:
---------------------------------------------------------

Commit 47215d4a858c5959ea5c745249057db356f2cf16 in lucene-solr's branch 
refs/heads/branch_8x from Ignacio Vera
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=47215d4 ]

LUCENE-9523: Speed up query shapes for geometries that generate multiple points 
(#1866)

In query shapes over shape fields, skip points while traversing the BKD tree 
when the relationship with the document is already known

> Speedup query shapes for geometries that generate multiple points
> -----------------------------------------------------------------
>
>                 Key: LUCENE-9523
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9523
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Ignacio Vera
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> When indexing lines or polygons into a shape field, we generally index 
> multiple points for the same document. When querying, we typically visited a 
> subset of this points. In many cases when visiting points from the same 
> document, we already know the relationship and therefore computing the 
> relationship between that point and the query shape is not necessary.
> When using dense visitors(eg. visitors backed by a FixedBitSet), we can check 
> if the relationship is already known and therefore skip that point. 
> Finally for intersects relationship we normally use sparse visitors but I 
> wonder in the case where the number of points >> number of docs, we should 
> use a dense visitor so we can skip points from documents where we know it 
> intersects.
>  
>  



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

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

Reply via email to