| Thanks for the quick response. We have tried using Integer.MAX_VALUE and also Integer.MAX_VALUE - 100, but it did not work out. Both values led to an exception inside the Lucene implementation, where an Object array of size maxFacetCount+1 is created. Integer.MAX_VALUE
Integer.MAX_VALUE - 100
Finally we decided to introduce a customer-specific property for maxFacetCount and set it to 1.000.000 by default. |