Also have a read about position_offset_gap:
http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/_multi_value_fields_2.html
On 17 April 2014 14:42, Aleh Aleshka olegl...@gmail.com wrote:
Thanks!
On Wednesday, April 16, 2014 6:39:00 PM UTC+3, vineeth mohan wrote:
Hello Aleh ,
Thanks!
On Wednesday, April 16, 2014 6:39:00 PM UTC+3, vineeth mohan wrote:
Hello Aleh ,
Both should be good for your purpose.
But then if you want to match against abc def ( that is with the space)
tomorrow , the array type will alone help.
You can disable the analyzer for the field
Hi
i'd like to have a field in document to which i'm going to append
strings and use span_near queries to search for a specific sequence of
strings in it
i wonder if that kind of usage makes sense, and if using array of
strings instead of one long string would be better?
i.e.
which document
Hello Aleh ,
Both should be good for your purpose.
But then if you want to match against abc def ( that is with the space)
tomorrow , the array type will alone help.
You can disable the analyzer for the field and achieve the functionality
which you cant if its a normal string.
Thanks