lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3282) BlockJoinQuery: Allow to add a custom child collector, and customize the parent bitset extraction
Date Tue, 12 Jul 2011 17:44:59 GMT

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

Michael McCandless commented on LUCENE-3282:
--------------------------------------------

Thanks Shay... looking close, but:

Mulling on this more... I think having the BlockJoinQuery invoke
the child collector is not the right place, because docs collected
here don't necessarily match the overall query being executed.  And
also we can miss some docs, eg we don't collect in advance.

Should we instead move the child collector into BlockJoinCollector?
It has access to all the scorers for BlockJoinQuery involved in the
parent query, and to all child docs for each parent doc collected.


> BlockJoinQuery: Allow to add a custom child collector, and customize the parent bitset
extraction
> -------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3282
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3282
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/search
>    Affects Versions: 3.4, 4.0
>            Reporter: Shay Banon
>         Attachments: LUCENE-3282.patch, LUCENE-3282.patch
>
>
> It would be nice to allow to add a custom child collector to the BlockJoinQuery to be
called on every matching doc (so we can do things with it, like counts and such). Also, allow
to extend BlockJoinQuery to have a custom code that converts the filter bitset to an OpenBitSet.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message