itschrispeck commented on PR #12680:
URL: https://github.com/apache/pinot/pull/12680#issuecomment-2024228403

   What do you think about enabling this by default/not hiding this feature 
behind a config? It seems that we should be able to infer whether a query is 
valid single term lucene syntax/phrase search or requires a span query
   
   e.g. for StandardAnalyzer parsed text
   `'*istributed'` - valid lucene, unchanged behavior
   `'distribute*'`- valid lucene, unchanged behavior
   `'"Distributed systems"'` - valid lucene, unchanged behavior
   `'*istributed systems*'` - not valid lucene, modify it to be a span query
   `'/.*istributed systems.*/'` - valid lucene, incompatible with 
StandardAnalyzer, unchanged behavior


-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to