Question

Is there a maximum length to a lucene query string in cloudant?

I would like to do a query that looks something like this:

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

The "..." in the above string represents up to N repetitions of "OR"s.

Is there a limit to how big N can be? would 100 be ok? how about 1000?

If you are wondering why I want to do a query like this in the first place, please see my related question: cloudant full text search among a sub-groups of documents

Était-ce utile?

La solution

Cloudant doesn't impose any limits on querystring length, but your browser might. As this thread discusses, play it safe and keep queries to under 2000 characters.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top