cloudant中的最大lucene查询字符串长度?

时间:2013-09-06 05:00:13

标签: cloudant

cloudant中的lucene查询字符串是否有最大长度?

我想做一个类似这样的查询:

(group:1 OR group:2 OR ... OR group:N ) and text:"search string goes here"

上述字符串中的“...”表示最多N次重复的“或”。

N的大小是否有限制? 100可以吗?怎么样1000?

如果您想知道我为什么要首先进行此类查询,请参阅我的相关问题:cloudant full text search among a sub-groups of documents

1 个答案:

答案 0 :(得分:0)

Cloudant不对查询字符串长度施加任何限制,但您的浏览器可能会。 As this thread discusses,安全地播放,并将查询保持在2000个字符以下。