Re: custom sorter

2012-07-22 Thread Erick Erickson
Wait by using filter queries with *:*, you're essentially disabling scoring. *:* resolves to ConstantScore Query, and filter queries don't lend any scoring at all. It really sounds like you're shooting yourself in the foot by using *:*, what happens if you use q= instead? QEV can be used in th

Re: custom sorter

2012-07-22 Thread Siping Liu
Hi -- thanks for the response. It's the right direction. However on closer look I don't think I can use it directly. The reason is that in my case, the query string is always "*:*", we use filter query to get different results. When fq=(field1:"xyz") we want to boost one document and let sort= to t

Re: custom sorter

2012-07-20 Thread Lee Carroll
take a look at http://wiki.apache.org/solr/QueryElevationComponent On 20 July 2012 03:48, Siping Liu wrote: > Hi, > I have requirements to place a document to a pre-determined position for > special filter query values, for instance when filter query is > fq=(field1:"xyz") place document abc as