lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Lamprecht <>
Subject Re: UnscoredRangeQuery
Date Fri, 15 Apr 2005 04:11:54 GMT
Hi Yonik, 

I'm interested, but I didn't see any files attached.  Not sure if it's
at my end or the mailing list.  Is there another way I can get these
files?  Thanks


On 4/14/05, Yonik Seeley <> wrote:
> OK, so I implemented an UnscoredRangeQuery we needed for use with
> lucene 1.4.3.  Seems to work fine for me, so I thought I would put it
> out here to see what you guys think... (files attached)
> Would a cleaned up version be useful for some version of Lucene, or
> will all the current work that Paul is doing in the queries & scorers
> make this method obsolete?
> Scoring seems an order of magnitude more complex than analysis and
> finding terms & docs.  I'd appreciate guidance or suggestions related
> to scoring and what numbers I'm currently returning (as long as it
> doesn't slow things down much).
> Features:
>  - can handle any number of terms... doesn't expand to a boolean query
>  - can be used anywhere in a normal query hierarchy (unlike RangeFilter)
>  - can be open ended on both ends
>  - endpoints can be independently inclusive or exclusive
>  - produces a constant score for each hit (could be a mis-feature also...)
> MisFeatures:
>  - no skipTo()... it currently impersonates a BooleanQuery because of
>  - no per-doc scoring (a small constant is returned).  we don't have
> any range queries where scoring makes sense, and it's faster without
> it.
> -Yonik
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message