lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7019) explore two-phase iteration for GeoPoint query
Date Tue, 09 Feb 2016 15:25:18 GMT

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

Michael McCandless commented on LUCENE-7019:
--------------------------------------------

I think this is a quite nasty performance bug / adversary in the multi valued case ... I think
we should fix it for 5.5.

> explore two-phase iteration for GeoPoint query
> ----------------------------------------------
>
>                 Key: LUCENE-7019
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7019
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-7019.patch, LUCENE-7019.patch
>
>
> This query today uses an approximation+confirm approach, but it all happens when you
call scorer(), in a termsEnum loop.
> This causes several problems (even after https://issues.apache.org/jira/browse/LUCENE-7018)
because it can do too much work, if queries have multiple values since the doc can be "confirmed"
more than once.
> I think it would be better to delay this confirmation as much as possible, so that other
parts of the query (e.g. other filters, conjunctions, etc) can eliminate checks as well.



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

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


Mime
View raw message