gortiz commented on PR #8818:
URL: https://github.com/apache/pinot/pull/8818#issuecomment-1156125315

   Yeah, I completely understand that we should maintain the Lucene language 
when Natife FST was created. My concern is with the fact that when Lucene index 
was added, we decided to accept a different language in `regexp_match`. IMHO 
that is a consistency problem that is not easy to explain to Pinot customers. 
Pinot doesn't include documentation about this operation and how it changes 
depending on whether there is an index or not and I feel sorry for whoever has 
to write that doc, because it seems quite difficult to describe.
   
   IMHO a better solution would be to do not optimize `regexp_match` with 
indexes and to have another operation whose string argument was a Lucene 
expression.
   
   It is too late to do that, so let's focus on useful things. This PR is 
closed, but I'm going to cherry pick the like to regex optimization to add it 
in another PR.


-- 
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