lucene-java-user mailing list archives

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

Hi,

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(ie.as
a phrase) b.Record #1 c.Record #2

How do i achieve this in lucene?

Thanks.

-- 
View this message in context: http://www.nabble.com/Help-needed-ordering-search-results-tp25691552p25691552.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message