lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6388) Optimize SpanNearQuery
Date Fri, 03 Apr 2015 14:39:53 GMT

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

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

Commit 1671078 from [~rcmuir] in branch 'dev/trunk'
[ https://svn.apache.org/r1671078 ]

LUCENE-6388: Optimize SpanNearQuery

> Optimize SpanNearQuery
> ----------------------
>
>                 Key: LUCENE-6388
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6388
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Robert Muir
>         Attachments: LUCENE-6388.patch
>
>
> After the big spans overhaul in LUCENE-6308, we can speed up SpanNearQuery a little more:
> * SpanNearQuery defaults to collectPayloads=true, but this requires a slower implementation,
for an uncommon case. Use the faster no-payloads impl if the field doesn't actually have any
payloads.
> * Use a simple array of Spans rather than List in NearSpans classes. This is iterated
over often in the logic.



--
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