[ https://issues.apache.org/jira/browse/LUCENE-3602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186893#comment-13186893 ]
Michael McCandless commented on LUCENE-3602: -------------------------------------------- bq. To support joining by docvalues we can make a different TermsCollector implementation, but I'm unsure how the TermsQuery can be used. Actually I think TermsQuery (once we change it to just take the BytesRefHash and iterate over the int[] ord instead of BytesRef[]) can be re-used. Ie, when collecting terms from DocValues, you'd just stuff them into the BytesRefHash like you do now... so supporting terms from DocValues should simply be another private impl inside TermsCollector (just like you can now pull from DocTermOrds or FieldCache). But I agree: let's do this (enable JoinQuery to use DocValues) in a follow-on issue! > 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, 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org