dsmiley commented on PR #2489:
URL: https://github.com/apache/solr/pull/2489#issuecomment-2153266206

   Want to quickly respond to this:
   > a Lucene contribution to create a new query
   
   No!  The Lucene project is not the only place where subclasses of Query 
classes exist ;-)
   
   I'm leary of blessing committing something architecturally unclean (in my 
mind; no offense) that will supposedly be fixed later.  I confess I'm not going 
to veto this as it's not all that bad really; it reads clearly, I understand 
this part of it so I shouldn't complain too loudly.  But personally I'm not 
going to approve this PR and this wont' block your merge.
   
   There are trade-offs admittedly... a special/hacky Query as I proposed 
(assuming it needs to be hacky?) is its own abuse of sorts; we have another -- 
PostFilter that isn't *really* a Query.  But at least those are contained to a 
whole abstraction implementation.  Meaning, ignore it if you don't care about 
it.  But QueryComponent is doing a lot; it's already complex... more conditions 
and special cases here is something we should watch out for.  QueryComponent is 
on the critical path; a place to fight against complexity.  Long ago QC was 
relatively clean and then query grouping came along and well, what a mess that 
made!
   
   Overall I wish we made proposals on the dev list about our ideas before 
showing up with an implementation.  I want my colleagues to do the same so peer 
review can influence the approach early.  I love reviewing other people's ideas 
before time is invested in an implementation!  I had an ad-hoc call with 
another committer this week to do this sort of thing.
   
   I'll see if I can look closer at your PR to think more about a specific 
recommendation.  Sigh; I'm busy though


-- 
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: issues-unsubscr...@solr.apache.org

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


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

Reply via email to