Analyzer strategy for superscripts and subscripts

(Imran Azad) #1

I would like to index content such as:

dopamine D₂

such that I can search for dopamine D₂ and dopamine D2

How can I setup an analyzer to allow me to do this? Bearing in mind the subscript and superscript could by any number not just ₂

(system) #2