lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <>
Subject [jira] Updated: (LUCENE-2694) MTQ rewrite + weight/scorer init should be single pass
Date Mon, 20 Dec 2010 15:26:01 GMT


Simon Willnauer updated LUCENE-2694:

    Attachment: LUCENE-2694.patch

here is a new patch with a slightly different implementation of PerReaderTermState. I build
a view from the subreader used to build the MTQ which is shared across all PerReaderTermState
instance for the query. The PrTS then uses only the ordinal from the ReaderView to reference
a TermState which prevents us from creating Map instances for each term. In turn this also
made it possible to fall back to re-seeking the TermDict if the reader is not in the view.

I fixed all other issues and all tests including the highlighter pass now.

> MTQ rewrite + weight/scorer init should be single pass
> ------------------------------------------------------
>                 Key: LUCENE-2694
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.0
>         Attachments: LUCENE-2694-FTE.patch, LUCENE-2694.patch, LUCENE-2694.patch, LUCENE-2694.patch,
LUCENE-2694.patch, LUCENE-2694.patch
> Spinoff of LUCENE-2690 (see the hacked patch on that issue)...
> Once we fix MTQ rewrite to be per-segment, we should take it further and make weight/scorer
init also run in the same single pass as rewrite.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message