On Fri, Apr 17, 2009 at 11:32 AM, ashokc <ash...@qualcomm.com> wrote:
> > What we need is for the white_papers & pdfs to be boosted, but if and only > if such doucments are valid results to the search term in question. How > would I write my above 'q' to accomplish that? > Thanks for explaining in detail. Basically, all you want to do is sort the results in the following order: 1. White papers 2. PDFs 3. Others or maybe #1 and #2 are equivalent and can be intermingled. Easiest way to do this is to index a new field whose values (when sorted) give you the desired order. Then you can simply sort on that field and score. -- Regards, Shalin Shekhar Mangar.