SOLR - String field sorting -
i've string field defined in solr populated values such "020001" , "50002" etc... require string field since tokenize filtering purposes. now, when try sort on field shows wrong order (not ascii). there way sort field in asc./desc. order? thanks.
if sort on tokenized field, you're sorting on multivalued field, not give result you're expecting.
you can solve adding dedicated field sorting contain value want sort by, allow use more proper field type (such tint) if want parse value integer or still use string value.
Comments
Post a Comment