romseygeek commented on PR #13993:
URL: https://github.com/apache/lucene/pull/13993#issuecomment-2480565223

   The monitor was initially written as a stand-alone application, and I didn't 
have integrations in mind at all when I was designing the API.  But we can 
definitely re-work things a bit so that there are library functions as well as 
executable ones.
   
   I guess what we really need is something that takes a Query and produces a 
Document, for the index-time side of things; and then a 
SearcherManager/IndexSearcher implementation that handles the QueryTermFilters, 
a Query that takes a set of Documents and rewrites itself into the presearcher 
query, and an extensible CollectorManager that calls an abstract method 
whenever it gets a candidate match.  Clients can then implement their own ways 
of actually doing the match, whether that's re-parsing the query from 
serialized bytes or looking it up in a cache or whatever.  Does that sound like 
it would fit with what you want to do with Solr?


-- 
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...@lucene.apache.org

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


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

Reply via email to