Re: Boost the results for filter value in a single query

2008-02-28 Thread Yonik Seeley
On Tue, Feb 26, 2008 at 11:24 PM, Vijay Khurana <[EMAIL PROTECTED]> wrote: > Thanks for the response Yonik. > The content source field is a single valued field. Sorting the results won't > work for me as the content source values are arbitrary strings and there is > no set pattern i.e it can be

Re: Boost the results for filter value in a single query

2008-02-27 Thread Otis Gospodnetic
uot;ABC" OR "DEF") I'm not sure without trying, though. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message > From: Vijay Khurana <[EMAIL PROTECTED]> > To: solr-user@lucene.apache.org > Sent: Tuesday, February 26, 2008 11:

Re: Boost the results for filter value in a single query

2008-02-26 Thread Vijay Khurana
Thanks for the response Yonik. The content source field is a single valued field. Sorting the results won't work for me as the content source values are arbitrary strings and there is no set pattern i.e it can be axd or xbc or abc def. All I know at time of the query that results for content source

Re: Boost the results for filter value in a single query

2008-02-26 Thread Yonik Seeley
If content_source is single valued (maximum of one value per document), then sort. sort=content_source asc -Yonik On Tue, Feb 26, 2008 at 4:15 AM, Vijay Khurana <[EMAIL PROTECTED]> wrote: > Hi, > Here is the problem I am facing. > One of the field in my index is content_source which I use to fi

Boost the results for filter value in a single query

2008-02-26 Thread Vijay Khurana
Hi, Here is the problem I am facing. One of the field in my index is content_source which I use to filter my results. I want all the documents that have content_source value as ABC OR DEF and all the documents having DEF should appear before the documents that have content_source value as ABC. I am