I am trying what I think is a very simple sort with Solr but my results are 
confusing.  It appears that Solr is using any word in the field I want to sort 
on to do the sort.  I am returning only the sorted field (just for this 
example) and asking that it be sorted desc. I am using Solr 1.4.1

Here is my query:

http://localhost:8280/solr/catalogProductSearch/select/?facet=true&fl=title&sort=title%20desc&start=1&q=category_level1:%28%22Fiction*Historical%22%29&wt=xml&rows=15&version=2.2

I have attached my schema.xml and a text file with my results.

I am assuming it has to do with my schema config but i am stumped as to what it 
might be.

Any thoughts?


Michael Hayes



Attachment: schema.xml
Description: schema.xml

<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">1</int>
</lst>
<result name="response" numFound="42" start="1">
<doc>
<str name="title">Wild Irish, The</str>
</doc>
<doc>
<str name="title">Widow's War, The</str>
</doc>
<doc>
<str name="title">Fatal Waltz, A</str>
</doc>
<doc>
<str name="title">Annette Vallon</str>
</doc>
<doc>
<str name="title">Vagabond</str>
</doc>
<doc>
<str name="title">Daughter Of Troy</str>
</doc>
<doc>
<str name="title">To the Tower Born</str>
</doc>
<doc>
<str name="title">Gallows Thief</str>
</doc>
<doc>
<str name="title">Fool's Tale, The</str>
</doc>
<doc>
<str name="title">Archer's Tale, The</str>
</doc>
<doc>
<str name="title">Sword Song</str>
</doc>
<doc>
<str name="title">Sundial in a Grave: 1610, A</str>
</doc>
<doc>
<str name="title">Beneath a Silent Moon</str>
</doc>
<doc>
<str name="title">Sharpe's Fury</str>
</doc>
<doc>
<str name="title">Sharpe's Escape</str>
</doc>
</result>
</response>

Reply via email to