Hello.
I am trying to sort my query results on a String field called "AssetType"
and then on the relevancy score, but I need a particular ordering of the
possible values in "AssetType" (i.e. first "Video", then "Article", etc.).
I have tried doing this with a custom SortComparator that returns I
Never mind. The sorting was working correctly. I was just misinterpretting
the results I was seeing.
-Theo
Theodan wrote:
>
> Hello.
>
> I am trying to sort my query results on a String field called "AssetType"
> and then on the relevancy score, but I need a p
Chris Hostetter wrote:
>
>
> : If i rememebr correctly (you'll have to test this) sorting on a field
> : which doesn't exist for every doc does what you would want (docs with
> : values are listed before docs without)
>
> : The actual behavior is different than described above. I modified
> :