sort by function with cursor based result fetching

2017-03-05 Thread Dmitry Kan
Hi, Solr: 4.10.2 We've noticed a potential bug with fetching results over cursor when sorting by a function on dynamic date fields. Filed as: https://issues.apache.org/jira/browse/SOLR-10231 Is there an obvious reason for sorting by function not to work with cursors? Could this have been fixed

RE: sort by function error

2012-11-13 Thread Kuai, Ben
: Re: sort by function error I can't reproduce this with the example data. Here's an example of what I tried: http://localhost:8983/solr/query?q=*:*&sort=geodist(store,-32.123323,108.123323)+asc&group.field=inStock&group=true Perhaps this is an issue that's sin

Re: sort by function error

2012-11-12 Thread Yonik Seeley
__ > From: ysee...@gmail.com [ysee...@gmail.com] on behalf of Yonik Seeley > [yo...@lucidworks.com] > Sent: Tuesday, November 13, 2012 6:46 AM > To: solr-user@lucene.apache.org > Subject: Re: sort by function error > > On Mon, Nov 12, 2012 at 5:24 AM

RE: sort by function error

2012-11-12 Thread Kuai, Ben
r 13, 2012 6:46 AM To: solr-user@lucene.apache.org Subject: Re: sort by function error On Mon, Nov 12, 2012 at 5:24 AM, Kuai, Ben wrote: > more information, problem only happends when I have both sort by function > and grouping in query. I haven't been able to duplicate this with a

Re: sort by function error

2012-11-12 Thread Yonik Seeley
On Mon, Nov 12, 2012 at 5:24 AM, Kuai, Ben wrote: > more information, problem only happends when I have both sort by function > and grouping in query. I haven't been able to duplicate this with a few ad-hoc queries. Could you give your complete request (or at least all of the releva

RE: sort by function error

2012-11-11 Thread Kuai, Ben
more information, problem only happends when I have both sort by function and grouping in query. From: Kuai, Ben [ben.k...@sensis.com.au] Sent: Monday, November 12, 2012 2:12 PM To: solr-user@lucene.apache.org Subject: sort by function error Hi I am

Re: sort by function

2011-08-01 Thread Bill Bell
This seems like a bug. On 8/1/11 7:47 AM, "Jamie Johnson" wrote: >I've never tried but could it be sort=sum(field1,field2,field3)%20desc > >On Mon, Aug 1, 2011 at 9:43 AM, Gastone Penzo >wrote: >> Hi, >> i need to order by function like: >> >> sort=sum(field1,field2,field3)+desc >> >> but solr

Re: sort by function

2011-08-01 Thread Jamie Johnson
I've never tried but could it be sort=sum(field1,field2,field3)%20desc On Mon, Aug 1, 2011 at 9:43 AM, Gastone Penzo wrote: > Hi, > i need to order by function like: > > sort=sum(field1,field2,field3)+desc > > but solr gives me this error: > Missing sort order. > why is this possible? i read that

sort by function

2011-08-01 Thread Gastone Penzo
Hi, i need to order by function like: sort=sum(field1,field2,field3)+desc but solr gives me this error: Missing sort order. why is this possible? i read that is possible to order by function, from version 1.3 (http://wiki.apache.org/solr/FunctionQuery#Sort_By_Function) i use version 1.4 nobody

Re: Can't determine Sort Order error when using sort by function

2011-04-21 Thread Yonik Seeley
On Thu, Apr 21, 2011 at 8:30 AM, Otis Gospodnetic wrote: > Hello, > > I'm trying out sorting by function with the new function queries and > invariably > getting this error: > >  Can't determine Sort Order: 'termfreq(name,samsung)', pos=22 > > Here's an example call: > http://localhost:8983/solr/

Can't determine Sort Order error when using sort by function

2011-04-21 Thread Otis Gospodnetic
Hello, I'm trying out sorting by function with the new function queries and invariably getting this error: Can't determine Sort Order: 'termfreq(name,samsung)', pos=22 Here's an example call: http://localhost:8983/solr/select/?q=*:*&sort=termfreq%28name,samsung%29 What am I doing wrong? Tha

Re: Sort by function - 400 error

2011-04-15 Thread Yonik Seeley
On Fri, Apr 15, 2011 at 11:50 AM, Michael Owen wrote: > > 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(s

Sort by function - 400 error

2011-04-15 Thread Michael Owen
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

Re: sort by function problem

2011-04-06 Thread Yonik Seeley
cenerevolution.org -- Lucene/Solr User Conference, May 25-26, San Francisco On Wed, Apr 6, 2011 at 6:48 AM, ramzesua wrote: > I try to use sort by function in a new release of SOLR 3.1, but I have some > problems, for example: > http://localhost:8983/new_search/select?q=mothers &

sort by function problem

2011-04-06 Thread ramzesua
I try to use sort by function in a new release of SOLR 3.1, but I have some problems, for example: http://localhost:8983/new_search/select?q=mothers day&indent=true&fl=templateSetId,score,templateSetPopularity&sort=product(templateSetPopularity,query(mothers day)) desc templateSetPop

Re: Sort by function workaround for Solr 1.4

2010-05-28 Thread Chris Hostetter
: I have found a user comment at this page : https://issues.apache.org/jira/browse/SOLR-1297 (Enable sorting by function : query) where he has mentioned that there is a workaround "(main query)^0 : func(...)" that can be used to sort results by function without having to : install "SOLR-1297" patc

Re: Sort by function workaround for Solr 1.4

2010-05-28 Thread Martynas Miliauskas
n context: > http://lucene.472066.n3.nabble.com/Sort-by-function-workaround-for-Solr-1-4-tp851922p852471.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Sort by function workaround for Solr 1.4

2010-05-28 Thread Blargy
How would this be any different than simply using the function to alter the scoring of the final results and then sorting by score? -- View this message in context: http://lucene.472066.n3.nabble.com/Sort-by-function-workaround-for-Solr-1-4-tp851922p852471.html Sent from the Solr - User

Sort by function workaround for Solr 1.4

2010-05-28 Thread Martynas Miliauskas
Hi, I need to sort query results by the output of some function which takes "score" and couple other fields as an input (50% of the total score comes from similarity score and 50% comes from document's popularity). Is there a workaround which does not involve installation of any patches. I have f

Re: sort by function

2010-05-24 Thread MitchK
gards - Mitch -- View this message in context: http://lucene.472066.n3.nabble.com/sort-by-function-tp814380p839167.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: sort by function

2010-05-22 Thread MitchK
h -- View this message in context: http://lucene.472066.n3.nabble.com/sort-by-function-tp814380p836471.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: sort by function

2010-05-16 Thread MitchK
Forget what I said about the second case. The second case is a simple sort on your field. -- View this message in context: http://lucene.472066.n3.nabble.com/sort-by-function-tp814380p821252.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: sort by function

2010-05-16 Thread MitchK
case, than I would say you need a new sort-function (never realized something like that). Hope this helps - Mitch -- View this message in context: http://lucene.472066.n3.nabble.com/sort-by-function-tp814380p821239.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: sort by function

2010-05-15 Thread MitchK
message in context: http://lucene.472066.n3.nabble.com/sort-by-function-tp814380p820359.html Sent from the Solr - User mailing list archive at Nabble.com.