If you are not searching against the "title" field directly, you can change it to string. If you do, create a separate one, specifically for sorting. You should be able to use docValues with that field even in Solr 4.7.
Remember to re-index. Regards, Alex. ---- Sign up for my Solr resources newsletter at http://www.solr-start.com/ On 17 February 2015 at 20:16, Simon Cheng <simonwhch...@gmail.com> wrote: > Hi Alex, > > It's simply defined like this in the schema.xml : > > <field name="title" type="text_general" indexed="true" stored="true" > multiValued="false"/> > > and it is cloned to the other multi-valued field o_title : > > <copyField source="title" dest="o_title"/> > > Should I simply change the type to be "string" instead? > > Thanks again, > Simon. > > > On Wed, Feb 18, 2015 at 12:00 PM, Alexandre Rafalovitch <arafa...@gmail.com> > wrote: > >> What's the field definition for your "title" field? Is it just string >> or are you doing some tokenizing? >> >> It should be a string or a single token cleaned up (e.g. lower-cased) >> using KeywordTokenizer. In the example schema, you will normally see >> the original field tokenized and the sort field separately with >> copyField connection. In latest Solr, docValues are also recommended >> for sort fields. >> >> Regards, >> Alex. >>