Hi Clécio,

Your problem may be caused by case sensitiveness of string fields. Try using
the "lowercase" field type that comes in the example.

Regards,

*Juan*



On Thu, Jun 2, 2011 at 6:13 PM, Clecio Varjao <cleciovar...@gmail.com>wrote:

> Hi,
>
> When using the following URL:
>
> http://localhost:8080/solr/StatReg/select?version=2.2&sort=path+asc&fl=path&start=0&q=paths%3A%222%2Froot%2FStatReg%2F--+C+--%22&hl=off&rows=500
>
> I get the result in the following order:
>
> [...]
> /-- C --/Community Care Facility Act [RSBC 1996] c. 60/00_96060REP_01.xml
> /-- C --/Community Care and Assisted Living Act [SBC 2002] c.
> 75/00_02075_01.xml
> [...]
>
> However, the order is not right "and Assisted" should come before
> "Facitity Act".
>
> I'm using the following schema configuration:
>
> <fieldtype name="string"  class="solr.StrField" sortMissingLast="true"
> omitNorms="true"/>
>
> <field name="path"   type="string"   indexed="true"  stored="true"
> multiValued="false" />
>
> Thanks,
>
> Clécio
>

Reply via email to