lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Scoring documents by position
Date Fri, 27 Oct 2006 19:30:55 GMT

: > 'OpenGL', is it possible to have results like 'OpenGL Guide' to be
: > scored highter then 'A Guide to OpenGL' ?
: SpanFirstQuery does this, but afaik there is no query parser supporting it.

if howeveryou *allways* want queries to work this way, it would be pretty
straight foward to subclass QueryParser so that it's current uses of
TermQuery are replaces with SpanFirstQuery.


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

View raw message