lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mitu2009 <>
Subject Help needed ordering search results
Date Thu, 01 Oct 2009 00:40:17 GMT


I've 3 records in Lucene index.

Record 1 contains healthcare in title field. Record 2 contains healthcare
and insurance in description field but not together. Record 3 contains
healthcare insurance in company name field.

When a user searches for healthcare insurance,I want to show records in the
following order in search results...

a.Record #3---because it contains both the words of the input together(
a phrase) b.Record #1 c.Record #2

How do i achieve this in lucene?


View this message in context:
Sent from the Lucene - Java Users mailing list archive at

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

View raw message