标签:
一直没有注意还有一个inOrder参数:
public SpanNearQuery(SpanQuery[] clauses, int slop, boolean inOrder)
When inOrder
is true, the spans from each clause must be * ordered as in clauses
.
http://blog.csdn.net/july_2/article/details/44307983
http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/search/spans/SpanNearQuery.html
elasticsearch SpanNearQuery inOrder参数
标签:
原文地址:http://www.cnblogs.com/ydxblog/p/5674085.html