Re: Solr seems to be using partial words to do sort by

2011-02-14 Thread Michael Hayes
Thanks for the help. You were right that it did change from text to string and I think I forgot to restart the server to get the new schema loaded. But I did create a new title_sort field of type "alphaOnlySort" and that worked. Michael On Feb 14, 2011, at 10:10 AM, Jan Høydahl wrote: > Hi,

Re: Solr seems to be using partial words to do sort by

2011-02-14 Thread Jan Høydahl
Hi, Your schema says that title is type="string", so this should work. However, has title always been "string", or have you changed it from "text" without doing a complete re-index at some point? A few hints: * When using type="string", you will not get matches for each single word in your cat

Solr seems to be using partial words to do sort by

2011-02-14 Thread Michael Hayes
I am trying what I think is a very simple sort with Solr but my results are confusing. It appears that Solr is using any word in the field I want to sort on to do the sort. I am returning only the sorted field (just for this example) and asking that it be sorted desc. I am using Solr 1.4.1 He