lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Lamprecht <clampre...@gmail.com>
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

-Chris

On 4/14/05, Yonik Seeley <yseeley@gmail.com> 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
>   http://issues.apache.org/bugzilla/show_bug.cgi?id=34407
>  - 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: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message