Autocomplete search and sort on the same field

Is there a way to apply autocomplete (edge_ngram tokenizer) and case insensitive search on the same string field?

For general search/sort we have been using (i'm using yaml format here for easier reading)

normalizer:
                    case_insensitive:
                        type: custom
                        filter:
                          - lowercase
                          - asciifolding

as in

my_field:
                    type: keyword
                    normalizer: case_insensitive

but trying to add edge_ngram, I'm not sure what to do or if that can even be done?

We require case insensitive sorting and partial word search on the same field(s).

why dont you try a multi field - no need to mix fields up which serve different use-cases

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.