Function Score Query based on dictionary

Hi all,

Is it possible to apply a script on sort without using a numeric field, but
one based on a string?

I want to to re-order the results based on a dictionary of values that
exist in a field.

I have never tried scripts before, but if it is possible to write a
cascaded statement, then I could apply boosting as well to do this trick.

Cheers

/JZ

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/bafffb49-7bdb-49bd-9ec8-8a76680ef64c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.