lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
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.



-Hoss


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


Mime
View raw message