I am pretty sure your reality is correct and your document reading (or
document itself) is less than perfect. docValues are strongly
recommended if you are going to do a lot of sorting. But the ability
to sort existed before docValues were created.

Can you send the specific (version-specific ideally) link and quote
that confuses you?

Regards,
   Alex.

On Wed, 9 Jun 2021 at 11:02, Mónica Marrero <monica.marr...@europeana.eu> wrote:
>
> Hi,
>
> I am using Solr 7.7 in Cloud, and I had understood from the
> documentation that sorting is not possible in multivalued fields when
> docValues is not activated. To my surprise I am able to directly sort (e.g.
> sort=CREATOR asc) using the two fields below (I also copy the definition of
> the field types):
>
> <fieldType name="int" class="solr.TrieIntField" precisionStep="0"
> positionIncrementGap="0"/><fieldType name="string" class="solr.StrField"
> sortMissingLast="true" omitNorms="true"/>
> <field name="CREATOR" type="string" indexed="true" stored="true" multiValued
> ="true"/>
> <field name="filter_tags" type="int" indexed="true" stored="true"
> multiValued="true"/>
>
> Am I missing something? The schema version is still 0.8 in case that makes
> any difference.
>
> Thanks in advance for your help.
>
> --
> Disclaimer: This email and any files transmitted with it are confidential
> and intended solely for the use of the individual or entity to whom they
> are
> addressed. If you have received this email in error please notify the
> system manager. If you are not the named addressee you should not
> disseminate,
> distribute or copy this email. Please notify the sender
> immediately by email if you have received this email by mistake and delete
> this email from your
> system.

Reply via email to