Sorting by function query

39 views
Skip to first unread message

Johannes Charra

unread,
Nov 8, 2013, 5:36:43 AM11/8/13
to sol...@googlegroups.com

Hi all,

If I understand correctly, solrpy does not yet support sorting by function queries. I want to pass the query param

sort=max(date1,date2) desc

and this works in a raw query, but solrpy transforms this to

sort=max(date1 asc,date2) desc

because there's a code block in solrpy that appends "asc" or "desc" to each sorting field.

Are there any plans to implement this?

Regards,
Johannes

Leonardo Santagada

unread,
Nov 8, 2013, 6:43:43 AM11/8/13
to sol...@googlegroups.com
This seems to be a bug.


--
You received this message because you are subscribed to the Google Groups "solrpy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to solrpy+un...@googlegroups.com.
To post to this group, send email to sol...@googlegroups.com.
Visit this group at http://groups.google.com/group/solrpy.
For more options, visit https://groups.google.com/groups/opt_out.



--

Leonardo Santagada
Reply all
Reply to author
Forward
0 new messages