My documents has 2 indexed attribute - name (string) and version (number)
I want within the same score the documents will be displayed by the
following order

score(desc),name(desc),version(desc)

Therefor I query using :

http://localhost:8983/solr/vault/select?
           q=BOM&fl=*:score&
           sort=score+desc,Name+desc,Version+desc

And I get the following inside the result:

<doc>
   <str name="Name">BOM Total test2</str>
   ...
   <int name="Version">2</int>
   ...
   <float name="score">2.2388418</float>
</doc>
<doc>
   <str name="Name">BOM Total test - Copy</str>
   ...
   <int name="Version">2</int>
   ...
   <float name="score">2.2388418</float>
</doc>
<doc>
  <str name="Name">BOM Total test2</str>
  ...
  <int name="Version">1</int>
  ...
  <float name="score">2.2388418</float>
</doc>

The scoring is equal, but the name is not sorted.

What am I doing wrong here?

Reply via email to