lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <>
Subject [jira] Updated: (LUCENE-2831) Revise Weight#scorer & Filter#getDocIdSet API to pass Readers context
Date Wed, 02 Feb 2011 21:12:29 GMT


Simon Willnauer updated LUCENE-2831:

    Attachment: LUCENE-2831-no_sub_searcher.patch

I think we can really get rid of the sub searchers and do it all on the top level searcher.
I just sketched something out how this should be done from my point of view. The executors
should only specify the ARC slice they want to execute and use the top level searcher to do
the searches.

this patch is just for illustration purposes... Jdocs need to be fixed etc. 

I think if we do it that way the semantics are clear for IS.

> Revise Weight#scorer & Filter#getDocIdSet API to pass Readers context
> ---------------------------------------------------------------------
>                 Key: LUCENE-2831
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>             Fix For: 4.0
>         Attachments: LUCENE-2831-no_sub_searcher.patch, LUCENE-2831-nuke-SolrIndexReader.patch,
LUCENE-2831-nuke-SolrIndexReader.patch, LUCENE-2831-recursion.patch, LUCENE-2831-recursion.patch,
LUCENE-2831-recursion.patch, LUCENE-2831-recursion.patch, LUCENE-2831.patch, LUCENE-2831.patch,
LUCENE-2831.patch, LUCENE-2831.patch, LUCENE-2831.patch, LUCENE-2831.patch, LUCENE-2831_transition_to_atomicCtx.patch,
LUCENE-2831_transition_to_atomicCtx.patch, LUCENE-2831_transition_to_atomicCtx.patch
> Spinoff from LUCENE-2694 - instead of passing a reader into Weight#scorer(IR, boolean,
boolean) we should / could revise the API and pass in a struct that has parent reader, sub
reader, ord of that sub. The ord mapping plus the context with its parent would make several
issues way easier. See LUCENE-2694, LUCENE-2348 and LUCENE-2829 to name some.

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message