Re: Search Order

2008-05-05 Thread N. Hira
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.

Re: Search Order

2008-05-05 Thread Erick Erickson
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