lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3533) Nuke SpanFilters and CachingSpanFilter (maybe move to sandbox)
Date Sat, 12 Nov 2011 00:20:51 GMT


Robert Muir commented on LUCENE-3533:

It would be good to get a review on the patch: I think its ok in general.

it removes a lot of stupidity from the spans, except for one case:

the SpanMultiTermQueryWrapper is still not single pass (it simply throws all termcontexts

I thought about how to solve that one too, and I'm convinced its unfixable
because SpanQueries aren't really query trees, its just one query that
calls rewriteTerms on everything underneath it.

For this reason, even if i made this MTQ one single-pass by allowing TermContexts
to be passed to e.g. SpanOrQuery, it would work, but if you had that query inside
another SpanQuery then it would still do the extra seek like it does now.

But still, with the patch spans are a little better.
> Nuke SpanFilters and CachingSpanFilter (maybe move to sandbox)
> --------------------------------------------------------------
>                 Key: LUCENE-3533
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Task
>            Reporter: Uwe Schindler
>            Assignee: Uwe Schindler
>         Attachments: LUCENE-3533.patch
> SpanFilters are inefficient and OOM easily (they don't scale at all: Create large Lists
of Objects for every match, also filtering deleted docs is a pain). Some talks with Grant
on Eurocon and also the fact that caching of them is still broken in 3.x (but fixed on trunk)
- I assume nobody uses them, so let's nuke them. They are also in wrong package, so standard
statement: "Die, SpanFilters, die!"

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message