"group.order" is not a valid parameter.
You're probably looking for "group.sort"

-Yonik
http://lucidworks.com


On Wed, May 15, 2013 at 9:30 PM, alexzhang <zhangming1...@gmail.com> wrote:
> I use the Solr 4.0.0 +, when I try to sort the results which within one
> group, it does not work?
>
> The wiki I referenced: http://wiki.apache.org/solr/FieldCollapsing
>
> The xml return like:
>
> ......
>     <lst name="grouped">
>         <lst name="title">
>             <int name="matches">2</int>
>             <arr name="groups">
>                 <lst>
>                     <str name="groupValue">AEST</str>
>                     <result name="doclist" numFound="2" start="0">
>                         <doc>
>                             <str
> name="id">7d37cd01-b6e0-4ef7-86b6-5a073efc46e5</str>
>                             <str name="title">AEST</str>
>                             <bool name="isActive">true</bool>
>                             <str name="eISBN" />
>                             <str name="filePath">file_01.xhtml</str>
>                             <str name="fileContent">aa bb cc dd ee</str>
>                             <int name="tocSequence">2</int>
>                             <long
> name="_version_">1435147561336832000</long>
>                         </doc>
>                         <doc>
>                             <str
> name="id">b1d90fa8-3832-465a-ae6f-dc82955b8c30</str>
>                             <str name="title">AEST</str>
>                             <bool name="isActive">true</bool>
>                             <str name="eISBN" />
>                             <str name="filePath">file_02.xhtml</str>
>                             <str name="fileContent">aa bb cc dd ee</str>
>                             <int name="tocSequence">1</int>
>                             <long
> name="_version_">1435147570241339392</long>
>                         </doc>
>                     </result>
>                 </lst>
>             </arr>
>         </lst>
>     </lst>
> ......
>
> The above result will NOT change whether I set the group.order=tocSequence
> or not.
>
> Anyone met this before?
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Solr-group-order-not-work-tp4063707.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to