I am trying to create an index from a Python script, but I am getting an error. Find the whole description here.
(IMPORTANT! I have not uploaded anything in this website, as every time I attempted, the attachments kept making the website crash)
What could be going on?
Hello @dave_espinosa_qs
It seems as per the shared post, correct syntax for using custom analyzers is as below :
All custom analyzers you refer (iq_text_base
, i_text_bigram
, q_text_bigram
, i_prefix
, q_prefix
, iq_text_delimiter
, iq_text_stem
) must be defined in settings.analysis
and passed in the settings
params when creating the index.
client.indices.create(
settings={..},
index="index_name",
mappings={..}
)
Thanks!!