You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Matt Weber (JIRA)" <ji...@apache.org> on 2018/04/24 15:00:00 UTC
[jira] [Comment Edited] (LUCENE-8196) Add IntervalQuery and
IntervalsSource to expose minimum interval semantics across term fields
[ https://issues.apache.org/jira/browse/LUCENE-8196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16450014#comment-16450014 ]
Matt Weber edited comment on LUCENE-8196 at 4/24/18 2:59 PM:
-------------------------------------------------------------
[~jim.ferenczi] [~romseygeek] I think rename to {{and}} makes sense, however, I would still like a way to explicitly prevent the scenario I described . Maybe a {{minwith}} operator? The width at the same position/interval should be {{0}} right?
was (Author: mattweber):
[~jim.ferenczi] [~romseygeek] I think rename to {{and}} makes sense, however, I would still live a way to explicitly prevent the scenario I described . Maybe a {{minwith}} operator? The width at the same position/interval should be {{0}} right?
> Add IntervalQuery and IntervalsSource to expose minimum interval semantics across term fields
> ---------------------------------------------------------------------------------------------
>
> Key: LUCENE-8196
> URL: https://issues.apache.org/jira/browse/LUCENE-8196
> Project: Lucene - Core
> Issue Type: New Feature
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Major
> Fix For: 7.4
>
> Attachments: LUCENE-8196-debug.patch, LUCENE-8196.patch, LUCENE-8196.patch, LUCENE-8196.patch, LUCENE-8196.patch, LUCENE-8196.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> This ticket proposes an alternative implementation of the SpanQuery family that uses minimum-interval semantics from [http://vigna.di.unimi.it/ftp/papers/EfficientAlgorithmsMinimalIntervalSemantics.pdf] to implement positional queries across term-based fields. Rather than using TermQueries to construct the interval operators, as in LUCENE-2878 or the current Spans implementation, we instead use a new IntervalsSource object, which will produce IntervalIterators over a particular segment and field. These are constructed using various static helper methods, and can then be passed to a new IntervalQuery which will return documents that contain one or more intervals so defined.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org