0

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

using hit highlighter 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

Community
  • 1
  • 1
Rohit Banga
  • 18,458
  • 31
  • 113
  • 191

1 Answers1

0

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.

bajafresh4life
  • 12,491
  • 5
  • 37
  • 46