1
votes

We are using Lucene.NET Version 2.9 to search for items using free text query. We get the items automatically sorted by Lucene by relevance. It has been working great except for one odd case. When search for Agile project management, the top 4 items returned by Lucene are as follows.

  1. Agile Project Management For Dummies
  2. Fundamentals of Agile Project Management
  3. Agile project management
  4. Agile Project Management

The item 3 or 4 should be showing up at the top as they are perfect. In many cases that we searched, if an item matches 100%, it is shown at the top. Anybody can please explain what is happening here. We are using standard analyzier.

1
You'd perhaps get more help at incubator.apache.org/lucene.netbmargulies
This isn't what I get...wanna post some source?Paul

1 Answers

0
votes

First thing I'd look at is what other fields are included in the search? A description field loaded with the word Agile could be pushing the first two up for example.