Hi,
I have a field in my schema specified using

<field name="wordCount" type="sint"/>

Where "sint" is specified as follows (the default from schema.xml)

<fieldType name="sint" class="solr.SortableIntField" sortMissingLast="true" 
omitNorms="true"/>
    
When I do a facet on this field using sort=index I always get the values back 
in lexicographic order. Eg: adding this to a query string...

facet=true&facet.field=wordCount&f.wordCount.facet.sort=index

gives me
<lst name="wordCount">
        <int name="1">5</int>
        <int name="10">2</int>
        <int name="2">6</int>
...

Is this a current limitation of solr faceting or am I missing a configuration 
step somewhere? I couldn't find any notes in the docs about this.

Cheers,
Simon

Reply via email to