I just reviewed the documentation for the fields option: https://www.elastic.co/guide/en/elasticsearch/reference/current/multi-fields.html
I plan on indexing my data with a snowball analyzer and also retaining the regular version of a field with a text type.
I'm wondering if using this approach would double the size of the index? With the original copy and the "snowball analyzed" copy?
Also, does querying the "fields" or "embedded" version have any significant query time speed slow downs? It reminds me of the nested query, so I'm nervous it might slow down the overall search/query speed.
I am a heavy user of multi-fields, yes the size of the document increase and it depends on your document, if you have only 1 field and add analyzer to this field there's a chance to double, depends on the result of the analyzer I think...
For speed concern I didn't notice difference. Hope that my post help you to feel less nervous.
Depends on how much documents you have, so better to make some benchmark with your data before.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.