I am adding a new float field to my index that I want to perform range
searches and sorting on. It will only contain a single value.

I have an existing dynamic field definition in my schema.xml that I wanted
to use to avoid having to updating the schema:

    <fieldType name="pfloat" class="solr.FloatPointField" docValues="true"/>
    <dynamicField name="*_float"  type="pfloat"  indexed="true"
 stored="true" multiValued="true"/>

I went ahead and implemented this in a test system (recently updated to
Solr 8.7), but then it occurred to me that I am not going to be able to
sort on the field because it is defined as multiValued.

But to my surprise sorting worked, and gave the expected results.Why? Can
this behavior be relied on in future releases?

Appreciate any insights.

Thanks
- AndyC -

Reply via email to