开发者

BooleanQuery Too Many Clauses in Lucene

For a bit of background to know what i am doing:

using hit highlighter开发者_Go百科 in lucene

Now to solve this problem i am setting maxclause count to 50000.

it works.

can there be any problems by increasing the number of clauses


If you have too many clauses, performance will suffer, especially if you are running disjunctive (OR) queries. In some rare cases, you might run out of memory.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜