Ok thank you for the discussion. As I thought regard to not possible within
performance limits.
I think the way to go is to document some more stats at index time, and use
them in boost queries. :)
Thanks
Mike
> Date: Tue, 19 Apr 2011 15:12:00 -0400
> Subject: Re: Custom Sorting
> From: ericker
Hi,
I want to able to have a custom sorting algorithm such that for each comparison
of document results (A v B) I can rank them. i.e. writing a comparator like I
would normally do in Java (Compares its two arguments for order. Returns a
negative integer, zero, or a positive integer as the first
Using solr 3.1.
When I do:
sort=score desc
it works.
sort=product(typeId,2) desc (typeId is a valid attribute in document)
it works.
sort=product(score,typeId) desc
fails on 400 error? Also "sort=product(score,2) desc" fails too.
Must be something basic I'm missing? Tried a
gards,
> -- Savvas.
>
> On 15 December 2010 14:49, Michael Owen wrote:
>
> >
> > Hi all,
> > I'm currently using Solr and I've got a question about filtering on a lower
> > level than filter queries.
> > We want to be able to restrict the documents
l filtering
> From: eelstretch...@gmail.com
> To: solr-user@lucene.apache.org
>
> On Wed, Dec 15, 2010 at 9:49 AM, Michael Owen
> wrote:
> > I'm currently using Solr and I've got a question about filtering on a lower
> > level than filter queries.
> >
Hi all,
I'm currently using Solr and I've got a question about filtering on a lower
level than filter queries.
We want to be able to restrict the documents that can possibly be returned to a
users query. From another system we'll get a list of document unique ids for
the user which is all the d