On my database there is a product title. We need to be able to search this so that it isn't accent sensitive, ie searching 'Dorthey' will still return 'Dórthéy'.
We are already creating an Oracle Text index. The setting for converting accented characters to base letters is called base_letter, and needs to be turned on.
This is how the index is created.
create index ITITLE_PSIPRODUCTTITLE on PSI.PSIPRODUCTTITLE(PT_TITLE) INDEXTYPE IS ctxsys.context
Do I turn on this setting when creating the index, and how? Or is the base_letter setting turned on elsewhere?
Appreciate any help!
You have to define a
BASIC_LEXERwhere you set theBASE_LETTERtotrue.You use the
BASIC_LEXERin the creation of the text index as demonstrated in the examplePlease check the other parameters such as
ALTERNATE_SPELLINGand/orOVERRIDE_BASE_LETTERas illustrated in this blog postAlternatively consult the Oracle documentation