On Thu, Jul 30, 2009 at 10:28 PM, Simon Stanlake<sim...@tradebytes.com> wrote:
> 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.

This is not the intention - seems like a bug somewhere.  Is it still
broken in trunk?  are you using distributed search?

-Yonik
http://www.lucidimagination.com

Reply via email to