crawler
crawler copied to clipboard
[Question] What's the best way to do Elasticsearch customizations?
Hi. Trying out GOPA and wondering what the best way of customizing the Elasticsearch (ES) index is. For now, I want to add a custom analyzer to handle synonyms in ES but AFAIK adding a custom analyzer needs to be done on ES index creation.
As far as I understand, running the seed <URL>
command in the admin page creates the ES indices on run-time.
I don't know how to code in Go so reading the code is challenging but perhaps you can point me to where (or how) best to do an ES customization like this? Or if it's even possible?
Thanks.
Hi, @develagasca , you can manually create the gopa-* index, with you pre-defined mapping, just keep the field name align with gopa's generated one.