elasticsearch SpanNearQuery inOrder参数

一直没有注意还有一个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

posted @ 2016-07-15 16:36  搜索技术  阅读(265)  评论(0编辑  收藏  举报