[
https://issues.apache.org/jira/browse/LUCENE-3602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185527#comment-13185527
]
Martijn van Groningen commented on LUCENE-3602:
-----------------------------------------------
Cool. I will use the BytesRefHash in the patch and see how this pans out.
{quote}
Also, I think you should always seek in your FilteredTermsEnum, and
simply iterate yourself through the BytesRef[]? Probably perf wasn't
great before because you were calling TreeSet.higher on each term?
{quote}
I've been testing this out with treeSet.higher(). In the case when there're
gaps between the terms the performance is much better with seeking then not
seeking (I picked random terms in a small test). In the terms are next / near
to each other it seems it is better use a non seeking implementation. I think
we should have a seeking and non seeking impl available. Maybe there should
should be an option named useSeekingTermsEnum which decides what impl to us?
bq. I think you should call setRewriteMethod in your TermSetQuery ctor, to
CONSTANT_SCORE_AUTO_REWRITE_DEFAULT
CONSTANT_SCORE_AUTO_REWRITE_DEFAULT is already the default in MTQ, right?
> Add join query to Lucene
> ------------------------
>
> Key: LUCENE-3602
> URL: https://issues.apache.org/jira/browse/LUCENE-3602
> Project: Lucene - Java
> Issue Type: New Feature
> Components: modules/join
> Reporter: Martijn van Groningen
> Fix For: 3.6, 4.0
>
> Attachments: LUCENE-3602.patch, LUCENE-3602.patch, LUCENE-3602.patch,
> LUCENE-3602.patch
>
>
> Solr has (psuedo) join query for a while now. I think this should also be
> available in Lucene.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]