hoe to search with two fields & prioritize them
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   vinoth_s
Posted On:   Wednesday, December 21, 2005 11:33 PM

We have two fields Keywords and Description and keyward should be given more priority than description but search should be simultaneous in both the fields how to do this?

how does lucene calculate scores and how does it rank the results using queryparser?

Re: hoe to search with two fields & prioritize them

Posted By:   Otis_Gospodnetic  
Posted On:   Thursday, December 22, 2005 05:59 PM

Use boosting. Here are some pointers. Lucene in Action contains code that you can easily copy.
About | Sitemap | Contact