tags:

views:

49

answers:

1

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

http://stackoverflow.com/questions/2409870/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

A: 

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