You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Martijn van Groningen (JIRA)" <ji...@apache.org> on 2015/04/01 09:22:53 UTC

[jira] [Updated] (LUCENE-6352) Add global ordinal based query time join

     [ https://issues.apache.org/jira/browse/LUCENE-6352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martijn van Groningen updated LUCENE-6352:
------------------------------------------
    Attachment: LUCENE-6352.patch

Adrien, Thanks for taking a look at it!

I updated the patch and applied all the comments, but the comment about the explain.  I wonder if we can check whether a BytesRef is valid utf8 and then convert it? Otherwise just use the BytesRef directly. I like the explain to be somewhat useful and this is the best I can think of right now.

> Add global ordinal based query time join 
> -----------------------------------------
>
>                 Key: LUCENE-6352
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6352
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Martijn van Groningen
>         Attachments: LUCENE-6352.patch, LUCENE-6352.patch, LUCENE-6352.patch, LUCENE-6352.patch
>
>
> Global ordinal based query time join as an alternative to the current query time join. The implementation is faster for subsequent joins between reopens, but requires an OrdinalMap to be built.
> This join has certain restrictions and requirements:
> * A document can only refer to on other document. (but can be referred by one or more documents)
> * A type field must exist on all documents and each document must be categorized to a type. This is to distingues between the "from" and "to" side.
> * There must be a single sorted doc values field use by both the "from" and "to" documents. By encoding join into a single doc values field it is trival to build an ordinals map from it.



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