I've got a searching problem which I know lots of other people have run across too. We've got documents which have keywords (which we extract and put into a 'keywords' field) and also have body text (which we put in a 'body' field.)
Lets say we search for "text retrieval". We want to find documents that have "text retrieval" in the body OR in the keywords, but we want to weight hits on the keywords more heavily. If I convert a query for phrase Q into this: body:Q OR keywords:Q^n does that do what I want? How should I select the boost factor N? Are there negative consequences to this strategy? Am I better off doing two queries and merging the results myself? -- Brian Goetz Quiotix Corporation [EMAIL PROTECTED] Tel: 650-843-1300 Fax: 650-324-8032 http://www.quiotix.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Lucene-dev mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/lucene-dev
