The solr documentation says that i have to add the docValues="true"
attribute for this field. After this I deleted the collection and
reimported the data. But when I execute my query I get the following error
*„ sort param could not be parsed as a query, and is not a field that
exists in the index: field(foo,min)*“
On 6/12/2018 2:56 AM, Marc Lammers wrote:
> I want to sort my data by a multivalued field. I add this to my query
> asc“*. The configuration in the schema for this field is
> <field name="foo" type="string" multiValued="true" indexed="true"
> stored="true" docValues="true"/>
The documentation for the field function says that the field must
contain numeric docvalues. Your field has type="string" and although
you did not indicate what the definition of string is in your schema,
most likely it is the solr.StrField class.