Re: Sorting issue while using collection parameter

2018-07-20 Thread Erick Erickson
Just tried this on master and can't reproduce. Didn't try 5.4. Any chance this is a multiValued field? That can sometimes confuse things. Best, Erick On Fri, Jul 20, 2018 at 2:50 AM, Vijay Tiwary wrote: > Hello Erick > > We are using string field and data is stored in lower case while indexing

Re: Sorting issue while using collection parameter

2018-07-20 Thread Vijay Tiwary
Hello Erick We are using string field and data is stored in lower case while indexing. We have alias set up to query multiple collections simultaneously. alias=collection1, collection2 If we are querying through alias then sorting is broken. For e.g. Results for descending sort are as follows. (Em

Re: Sorting issue while using collection parameter

2018-06-29 Thread Erick Erickson
What _is_ your expectation? You haven't provided any examples of what your input and expectations _are_. You might review: https://wiki.apache.org/solr/UsingMailingLists string types are case-sensitive for instance, so that's one thing that could be happening. You can also specify sortMissingFirs

Re: Sorting issue while using collection parameter

2018-06-29 Thread Vijay Tiwary
Hello Eric, title is a string field On Wed, 27 Jun 2018, 9:21 pm Erick Erickson, wrote: > what kind of field is title? text_general or something? Sorting on a > tokenized field is usually something you don't want to do. If a field > has aardvard and zebra, how would it sort? > > There's usually

Re: Sorting issue while using collection parameter

2018-06-27 Thread Erick Erickson
what kind of field is title? text_general or something? Sorting on a tokenized field is usually something you don't want to do. If a field has aardvard and zebra, how would it sort? There's usually something like alphaOnlySort. People often copyField from "title" to "title_sort" and search on "tit

Sorting issue while using collection parameter

2018-06-27 Thread Vijay Tiwary
Hello Team, I have multiple collection on solr (5.4.1) cloud based on year content2107 content2018 Also I have a collection "content" which does not have any data. Now if I query them as follows http://host:port/solr/content/select?q=*:*&collection=content2107, content2108&sort=title asc Where