Re: Sorting by function

2015-08-28 Thread Philippe Soares
Thanks Chris ! I have the country as a single valued field so your solution works perfectly ! On Fri, Aug 28, 2015 at 1:22 PM, Chris Hostetter wrote: > > : I have a "country" field in my index, with values like 'US', 'FR', 'UK', > : etc... > : > : Then I want our users to be able to define the o

Re: Sorting by function

2015-08-28 Thread Chris Hostetter
: I have a "country" field in my index, with values like 'US', 'FR', 'UK', : etc... : : Then I want our users to be able to define the order of their preferred : countries so that grouped results are sorted according to their preference. ... : Is there any other function that would allow

Sorting by function

2015-08-28 Thread Philippe Soares
Hi, I'm trying to apply the "Sort by function " solr capabilities to solve the following use case : I have a "country" field in my index, with values like 'US', 'FR', 'UK', etc... Then I want our users to be able to define the order of

Re: Any way to get the value if sorting by function?

2011-07-07 Thread arian487
Fixed it, turns out I cant get the score if I sort by a function but if I run a function query it'll sort by score and give me the score. -- View this message in context: http://lucene.472066.n3.nabble.com/Any-way-to-get-the-value-if-sorting-by-function-tp3148864p3150216.html Sent fro

Any way to get the value if sorting by function?

2011-07-07 Thread arian487
look like this was possible. -- View this message in context: http://lucene.472066.n3.nabble.com/Any-way-to-get-the-value-if-sorting-by-function-tp3148864p3148864.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: possible bug in sorting by Function?

2010-08-16 Thread Chris Hostetter
: issue resolve. problem was that solr.war was silently not being overwritten : by new version. : : will try to spend more time debugging before posting. Glad you were able to figure it out. For future refrence: problems like these are pretty much impossible for people to help you with unless

Re: possible bug in sorting by Function?

2010-08-12 Thread solr-user
issue resolve. problem was that solr.war was silently not being overwritten by new version. will try to spend more time debugging before posting. -- View this message in context: http://lucene.472066.n3.nabble.com/possible-bug-in-sorting-by-Function-tp1118235p1121349.html Sent from the Solr

Re: possible bug in sorting by Function?

2010-08-12 Thread solr-user
),sum(Latitude,1))%20asc http://10.0.11.54:8994/solr/select?q=*:*&sort=sum(sum(Latitude,1.0),sum(Latitude,1.0))%20asc http://10.0.11.54:8994/solr/select?q=*:*&sort=sum(rad(Latitude),rad(Latitude))%20asc -- View this message in context: http://lucene.472066.n3.nabble.com/possible-bug-in-sorti

Re: possible bug in sorting by Function?

2010-08-12 Thread solr-user
small typo in last email: second sum should have been hsin, but I notice that the problem also occurs when I leave it as sum -- View this message in context: http://lucene.472066.n3.nabble.com/possible-bug-in-sorting-by-Function-tp1118235p1118260.html Sent from the Solr - User mailing list

possible bug in sorting by Function?

2010-08-12 Thread solr-user
I did apply the SOLR-1297-2.patch supplied by Koji Sekiguchi but it didn't seem to help. I am using solr 903398 2010-01-26 20:21:09Z. Any suggestions appreciated. -- View this message in context: http://lucene.472066.n3.nabble.com/possible-bug-in-sorting-by-Function-tp1118235p1118235.html