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

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -