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
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
__
> 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
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
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
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
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
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
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
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/
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
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
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
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
&
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
: 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
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.
>
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
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
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.
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.
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.
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.
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.
24 matches
Mail list logo