Maximum number of slops for span_near query


(Junkoshimane) #1

Hi all,

Is there the maximum number of slops for span_near query?
If yes, is it Integer.MAX_VALUE = 2147483647?

When I tried to find it on GitHub by searching words "slop max", I guessed that the following line was applicable. But I don't know it's correct.

https://github.com/elastic/elasticsearch/blob/237650e9c054149fd08213b38a81a3666c1868e5/server/src/main/java/org/elasticsearch/common/lucene/search/MultiPhrasePrefixQuery.java#L48


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.