Hi,

I don't know whether it is my setup or any other reasons. But the fact is
that a very simple sort is not working in my Solr 4.7 environment.

The query is very simple :
http://localhost:8983/solr/bibs/select?q=author:soros&fl=id,author,title&sort=title+asc&wt=xml&start=0&indent=true

And the output is NOT sorted according to title :

<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">1</int>
<lst name="params">
<str name="sort">title asc</str>
<str name="fl">id,author,title</str>
<str name="indent">true</str>
<str name="start">0</str>
<str name="q">author:soros</str>
<str name="wt">xml</str>
</lst>
</lst>
<result name="response" numFound="13" start="0">
<doc>
<str name="id">9018</str>
<arr name="author">
<str>Soros, George, 1930-</str>
</arr>
<str name="title">
The alchemy of finance : reading the mind of the market / George Soros
</str>
</doc>
<doc>
<str name="id">15785</str>
<arr name="author">
<str>Soros, George, 1930-</str>
<str>Soros Foundations</str>
</arr>
<str name="title">Bosnia / by George Soros</str>
</doc>
<doc>
<str name="id">16281</str>
<arr name="author">
<str>Soros, George, 1930-</str>
<str>Soros Foundations</str>
</arr>
<str name="title">
Prospect for European disintegration / by George Soros
</str>
</doc>
<doc>
<str name="id">25807</str>
<arr name="author">
<str>Soros, George</str>
</arr>
<str name="title">
Open society : reforming global capitalism / George Soros
</str>
</doc>
<doc>
<str name="id">27440</str>
<str name="title">George Soros on globalization</str>
<arr name="author">
<str>Soros, George, 1930-</str>
</arr>
</doc>
<doc>
<str name="id">22254</str>
<arr name="author">
<str>Soros, George, 1930-</str>
</arr>
<str name="title">
The crisis of global capitalism : open society endangered / George Soros
</str>
</doc>
<doc>
<str name="id">16914</str>
<arr name="author">
<str>Soros, George, 1930-</str>
<str>Soros Fund Management</str>
</arr>
<str name="title">The theory of reflexivity / by George Soros</str>
</doc>
<doc>
<str name="id">17343</str>
<str name="title">
Financial turmoil in Europe and the United States : essays / George Soros
</str>
<arr name="author">
<str>Soros, George, 1930-</str>
</arr>
</doc>
<doc>
<str name="id">15542</str>
<arr name="author">
<str>Soros, George, 1930-</str>
<str>Harvard Club of New York City</str>
</arr>
<str name="title">
Nationalist dictatorships versus open society / by George Soros
</str>
</doc>
<doc>
<str name="id">15891</str>
<arr name="author">
<str>Soros, George</str>
</arr>
<str name="title">
The new paradigm for financial markets : the credit crisis of 2008 and what
it means / George Soros
</str>
</doc>
</result>
</response>

Thank you for the help in advance,
Simon.

Reply via email to