You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Paul Elschot (JIRA)" <ji...@apache.org> on 2015/05/25 20:33:18 UTC

[jira] [Comment Edited] (LUCENE-5627) Positional joins

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

Paul Elschot edited comment on LUCENE-5627 at 5/25/15 6:32 PM:
---------------------------------------------------------------

The patch of 20150525 against the 5.2 branch has:
- support for two phase iteration by using ConjunctionIterator over the term enum of the payload term and the spans of the input span query. This defers payload loading for the payloads on the fragment positions and the tree info. This is implemented in an added package private LabelQuery that is the superclass of all positional joins queries.
- various improved/simplified hashCode/equals methods, removal of unused imports.
- LeafFragmentsQuery was deleted, this was untested and not working well. I'll add it again later. This provided the non empty leaf fragments in from a label tree, and this is occasionally good to have.
- the test code uses SpanWithinQuery from core.

The util.eliasfano package has a new BitSelect class which is based on the recently removed BitUtil.select method.
I'll move the util.eliasfano into the label module here later, in the patch it is the core module.

The patch was prepared on an svn checkout of the 5.2 branch. I'd rather use git, but the 5.2 branch is not yet available in the git mirror, see INFRA-9182.


was (Author: paul.elschot@xs4all.nl):
The patch of 20150525 against the 5.2 branch has:
- support for two phase iteration by using ConjunctionIterator over the term enum of the payload term the spans of the input span query. This defers payload loading for the payloads on the fragment positions and the tree info. This is implemented in an added package private LabelQuery that is the superclass of all positional joins queries.
- various improved/simplified hashCode/equals methods, removal of unused imports.
- LeafFragmentsQuery was deleted, this was untested and not working well. I'll add it again later. This provided the non empty leaf fragments in from a label tree, and this is occasionally good to have.
- the test code uses SpanWithinQuery from core.

The util.eliasfano package has a new BitSelect class which is based on the recently removed BitUtil.select method.
I'll move the util.eliasfano into the label module here later, in the patch it is the core module.

The patch was prepared on an svn checkout of the 5.2 branch. I'd rather use git, but the 5.2 branch is not yet available in the git mirror, see INFRA-9182.

> Positional joins
> ----------------
>
>                 Key: LUCENE-5627
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5627
>             Project: Lucene - Core
>          Issue Type: New Feature
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: LUCENE-5627-20141126.patch, LUCENE-5627-20150525.patch
>
>
> Prototype of analysis and search for labeled fragments



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