lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eks Dev (JIRA)" <>
Subject [jira] Updated: (LUCENE-1345) Allow Filter as clause to BooleanQuery
Date Sat, 26 Jul 2008 20:24:31 GMT


Eks Dev updated LUCENE-1345:

    Attachment: DisjunctionDISI.patch

bq. Would anyone have a DisjunctionDISI (Disjunction over DocIdSetIterators) somewhere?

I have played with DisjunctionSumScorer rip-off, maybe you find it useful for this issue...

What would be nice here(and in DisjunctionSumScorer ), if possible?:

- to remove initDISIQueue() from next() and skipTo() (also the same in DisjunctionSumScorer())
... this is due to this ugly  -1 position before first call, I just do not know how to get
rid of it :)

- to switch to Conjuction "mode" if minNrShouldMatch kicks in.... there are already todo-s
for it arround 

if you think you can use it, just go ahead and include it in your patch, I am not using this
for anything, just wrapped it up when you asked. 

> Allow Filter as clause to BooleanQuery
> --------------------------------------
>                 Key: LUCENE-1345
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Search
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: DisjunctionDISI.patch, LUCENE-1345.patch

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