All,
I am trying to sort on a text field and can't get it to work. I try sorting on 
"sortTitle" and get no errors, it just doesn't appear to sort. The pertinent 
parts of my schema:

<fieldType
                name="text"
                class="solr.TextField"
                positionIncrementGap="100">
... lots of filters that do work...
</fieldType>
<fieldType
                name="sortString"
                class="solr.TextField"
                sortMissingLast="true"
                omitNorms="true">
                <analyzer>
                                <tokenizer
                                                
class="solr.KeywordTokenizerFactory" />
                                <filter
                                                
class="solr.LowerCaseFilterFactory" />
                                <filter
                                                class="solr.TrimFilterFactory" 
/>
                </analyzer>
</fieldType>

<field name="title" type="text" indexed="true" stored="true" termVectors="true" 
/>

<field name="sortTitle" type="sortString" indexed="true" stored="true" />
<copyfield source="title" dest="sortTitle" />

I set stored="true" on the sort field so I could see if anything was getting 
copied there, and it would appear that this is not the case. I don't see any 
"top 10" summaries like I do for other fiends, including another field 
populated by copyField. Is this just because of the filters I am using?

I'm sure this horse has or similar horses have been beaten to death before, but 
I'm new to this mailing list, so sorry about that. Any help is greatly 
appreciated!

Thanks,
Patrick

Reply via email to