Question

I got problem with sort in solr on dynamicField which type is string;

<dynamicField name="*_SEARCH"  type="string"  indexed="true"  stored="true" multiValued="false"/>
<fieldType name="string" class="solr.StrField" sortMissingLast="false" />

result are paging(I got 100 documents; 20 for page), and he sort only first page

for example I get 20 documents with sort by this field with value:

  1. 9999.0
  2. 9999.0
  3. 22222.0
  4. 22.2
  5. 22.2

    . . .

  6. 10.0
  7. 0.0 8.

as can You see problem is with the order

sort parameter: (dynamic content)_SEARCH desc

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top