Please review:
http://wiki.apache.org/lucene-java/LuceneFAQ
I suspect your question is answered as:
How do I make sure that a match in a document title has greater
weight than than a match in a document body?
-h
--
Hira, N.
Well, it all depends upon what you mean by problem. Lucene is not returning
things in random order, it's returning things in relevance order. There is
a lot of discussion about scoring both on the Wiki and in the mail archive
if you want to affect the return order.
Alternatively, you can sort your