I want to use SpanNearQuery in my search request, i have set 'with_positions_offsets' to the 'term_vector' option of a text field property in mapping when i created a index .And then i indexed some docs to my
elasticsearch before i use SpanNearQuery to search my data.But it seems that the 'Slop' option of SpanNearQuery does not work ,the search result contains all matches data,no matter how far the distance between those words is.
Did I miss something?Or something wrong with my search way?
Could anybody please help me? I am so lucky if anybody can give me some ideas about this.I use the Nest client,the version of it is 2.0,And the version of elasticsearch is 2.2.0
Thank you !