Is rerunning elasticsearch equivalent to rebuilding index?

(Harry747747) #1

I changed similarity measure for retrieving documents. The documentation says I need to rebuild the index. Is rebuilding the index equivalent to rerunning the elasticsearch in /bin ?
Actually, I tried rerun the elasticsearch, it does change the retrieval document results. Don't know if it is the right way.

(Mark Walkom) #2

You need to delete the data from ES and then index it again.

(Harry747747) #3

I changed the elasticsearch.yml file, and added index.similairty.default.type: BM25, and rerun the elasticsearch executable file. Is it the right way to change similarity measure?
My data are very big, I don't want to re index the data.

(system) #4