raghavyadav01 opened a new pull request, #16325:
URL: https://github.com/apache/pinot/pull/16325

   This PR adds configuration support for Lucene IndexSearcher's 
`maxClauseCount` setting. When text search queries contain too many terms or 
clauses, Lucene throws `TooManyClauses` exceptions, which can cause query 
failures. 
   
   ## Changes
   1. **CommonConstants.java**: Added configuration constants for maxClauseCount
   2. **BaseServerStarter.java**: Set global maxClauseCount during server 
initialization
   3. **TextIndexUtils.java**: Added configuration change listener for dynamic 
updates
   4. **LuceneTextIndexReader.java**: Added logging to show configured 
maxClauseCount
   5. **MultiColumnLuceneTextIndexReader.java**: Added logging to show 
configured maxClauseCount
   
   ## Configuration
   ```properties
   # Server configuration
   pinot.server.lucene.max.clause.count=2048
   ```
   
   ## Testing
   - Tested configuration change listener functionality
   - Confirmed logging shows correct maxClauseCount values
   
   ## Backward Compatibility
   This change is backward compatible. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to