Re: Sorting is working in primitive multivalued fields without docValues

2021-06-11 Thread Mónica Marrero
Thanks, Alessandro, I will wait for your investigation and let you know if I find anything else in the meantime. About the trie fields, yes, we are about to replace them with the point fields, hopefully in the next reindexing we run. Cheers, Mónica On Thu, 10 Jun 2021 at 10:30, Alessandro Bene

Re: Sorting is working in primitive multivalued fields without docValues

2021-06-10 Thread Alessandro Benedetti
Hi Monica, I think the trie fields are deprecated in favor of the point fields. In regards to multi valued date sorting without docValues, the overall pull request is the following: https://github.com/apache/lucene-solr/commit/e2bba98/ I should investigate more but from a quick look , for dates we

Re: Sorting is working in primitive multivalued fields without docValues

2021-06-10 Thread Mónica Marrero
Thank you! Yes, that is the quote, and here is the link to the documentation where it is: https://solr.apache.org/guide/7_7/common-query-parameters.html#sort-parameter I have also tested with date types (also multivalued and with no docValues) and in that case I get the following error: "can not s

Re: Sorting is working in primitive multivalued fields without docValues

2021-06-09 Thread Alessandro Benedetti
>From the wiki: The value of any primitive field (numerics, string, boolean, dates, etc.) > which has docValues="true" (or multiValued="false" and indexed="true", in > which case the indexed terms will used to build DocValue like structures on > the fly at runtime) I think the documentation is i

Re: Sorting is working in primitive multivalued fields without docValues

2021-06-09 Thread Alexandre Rafalovitch
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 ideal

Sorting is working in primitive multivalued fields without docValues

2021-06-09 Thread Mónica Marrero
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 ty