lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <>
Subject Re: Boosting Search Results
Date Fri, 31 Jul 2009 11:07:02 GMT

It's not quite that simple.  Other things being equal, results that
match all keywords are likely to come first but there are other
factors such as term frequency and the length of the document.

Searcher.explain() will give you the gory details.  Luke will let you
see what is in your index.  A google for relevancy or scoring will
give you more info.  DefaultSimilarity is the default scoring


On Fri, Jul 31, 2009 at 11:01 AM, bourne71<> wrote:
> Hi, new here.
> I recently started using lucene and had encounter a problem.I crawl and
> index a number of documents.
> When i perform a search, lets say "tall fat", by right the results that
> matches all the keyword should be on top and display first.
> But in my search results, some of the document with only 1 matches of the
> keyword like 'tall' is display first. Why is that? What had i done wrong?
> can anyone advise me on this? thanks
> --
> View this message in context:
> Sent from the Lucene - Java Users mailing list archive at
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

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

View raw message