Sort by bool expression


(Nizsheanez) #1

Can i do sort by: some_number IN field_name?
I know one solution with groovy: doc['field_name'].value.contains(some_number)`, but maybe possible to do same without groovy?


(system) #2