Re: Scoring documents by position

2006-10-27 Thread Chris Hostetter
: > '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 subclas

Re: Scoring documents by position

2006-10-27 Thread Paul Elschot
On Friday 27 October 2006 11:09, Oliver Donald wrote: > Hi, > > I'm quite new to Lucene but I've managed to get it to return quite > complex results. The problem is that the results aren't bringing up the > most relevant documents first. > > Is it possible to score or boost a result document base

Scoring documents by position

2006-10-27 Thread Oliver Donald
Hi, I'm quite new to Lucene but I've managed to get it to return quite complex results. The problem is that the results aren't bringing up the most relevant documents first. Is it possible to score or boost a result document based on where a search term appears in a field? Ie, if I search in a ti