Re: Question about SOLR custom sort order

2012-01-01 Thread Andrea Gazzarini
We fullfilled a similar requirement by creating a new field that is populated at client-level (a standalone app that converts binary data in solr input documents) Andrea On 1/1/12, Erick Erickson wrote: > There's no good way of enforcing this as far as I know > as you've outlined the problem. Yo

Re: Question about SOLR custom sort order

2012-01-01 Thread Erick Erickson
There's no good way of enforcing this as far as I know as you've outlined the problem. You can easily specify multiple sort criteria, where ties in the first criteria are broken by the second criteria and so on. So, if your records have *no* city value you can do what you want by specifying the ci

Question about SOLR custom sort order

2012-01-01 Thread Gupta, Veeranjaneya
Hi, I use Solr 1.4 version and I have a question about SOLR sort order. Requirement : Sort names(e.g. : location names like Dallas(City), las vegas(City), Texas(State), India(Country), Canada(Country), etc..) based on category(e.g. : CITY, STATE, COUNTRY, etc..) How to sort the SOLR results bas