Hi, All,

I'm trying to define a sort field in solr, however the solr responds:
"can not sort on multivalued field: diss.date.defence".

BTW, the same message appears when I try "...&sort=dc.date.issued desc"

What is the problem?

Without sort parameter solr gives the following response:

<response>
<lst name="responseHeader">
<int name="status">0</int>
<int name="QTime">1</int>
<lst name="params">
<str name="explainOther"/>
<str name="indent">on</str>
<str name="hl.fl"/>
<str name="wt"/>
<str name="version">2.2</str>
<str name="rows">1500</str>
<str name="fl">dc.date.issued,diss.date.defence</str>
<str name="start">0</str>
<str name="q">dateDefended:[20110101 TO 20111231]</str>
<str name="qt"/>
<str name="fq"/>
</lst>
</lst>
<result name="response" numFound="46" start="0">
<doc>
<arr name="dc.date.issued">
<str>2011-01-01</str>
</arr>
<arr name="diss.date.defence">
<str>2011-12-05</str>
</arr>
</doc>
<doc>
<arr name="dc.date.issued">
<str>2011-01-01</str>
</arr>
<arr name="diss.date.defence">
<str>2011-12-12</str>
</arr>
</doc>
<!-- etc... -->

Attachment: discovery.xml
Description: XML document

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
  • [Dspace-tech] sort in... Тутукин Андрей Владимирович

Reply via email to