lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dawid Weiss (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (LUCENE-7848) QueryBuilder.analyzeGraphPhrase does not handle gaps correctly
Date Fri, 14 Jul 2017 08:20:00 GMT

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

Dawid Weiss edited comment on LUCENE-7848 at 7/14/17 8:19 AM:
--------------------------------------------------------------

Hi Jim. Thanks for the analysis -- I do understand these two queries should be identical,
but they have a different match result -- that's why I thought it's probably a span query
issue rather than the builder's (whether you pull those gaps or push them inside the or shouldn't
matter).

This time I'm on holidays, but I'll keep looking at LUCENE-7398, perhaps it sheds some light
on what's going on.


was (Author: dweiss):
Hi Jim. Thanks for the analysis -- I do understand these two queries should be identical,
but they have a different match result -- that's why I thought it's probably a span query
issue rather than the builder's (whether you pull those gaps or push them inside the or shouldn't
matter).

This time I'm on holidays, but I'll keep looking at LUCENE-7389, perhaps it sheds some light
on what's going on.

> QueryBuilder.analyzeGraphPhrase does not handle gaps correctly
> --------------------------------------------------------------
>
>                 Key: LUCENE-7848
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7848
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 6.5, 6.6
>            Reporter: Jim Ferenczi
>         Attachments: capture-3.png, LUCENE-7848-branching-spanOr.patch, LUCENE-7848.patch,
LUCENE-7848.patch
>
>
> Position increments greater than 1 are ignored when the query builder creates a graph
phrase query. 
> Instead it should use SpanNearQuery.addGap for pos incr > 1.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message