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

   > @gortiz another thing to remember is that neither Lucene nor native FST 
index follow the java regex pattern language.
   > 
   > If you look up the Lucene regex documentation, and look at the FST index 
and LIKE tests in Pinot, you will notice the difference.
   > 
   > Unfortunately, since we do not actually parse the regex engine until deep 
inside the FST territory, we have no way of reporting unknown characters. That 
may be a factor leading to 0 results for your queries
   
   Wow, that is shocking and I would see that as a huge problem to use Pinot in 
a big team. In cases like that I would expect to have a new operation that does 
the search using the Lucene expression language or whatever we want to use and 
fail if there is no index. What you are saying is that if I have a column that 
is not indexed and suddenly a colleague of mine decides to index that column, 
queries I had will start to return different (and incorrect) results. 
   
   Anyway, if that is what was decided, that is what we have. I'm going to 
close this PR, as it doesn't make sense to apply this optimization if it can be 
produce false results when someone adds an index.


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