kotman12 commented on PR #2382:
URL: https://github.com/apache/solr/pull/2382#issuecomment-2525192744

   Hey @zzBrunoBrito .. thanks for replying. I've added some general [docs in 
this 
branch](https://github.com/kotman12/solr/tree/solr-monitor-doc/solr/modules/saved-search)
 that could help you out. I plan to add it to the refguide but I'm still 
working through some stuff.
   
   Until this is upstreamed though and solr picks up lucene 9.12 (which is in 
the works) you will have to do this hack:
   
   1. build the module and copy `build/packaging/saved-search/` into 
`solr-9.7.0/modules/` of your solr installation. Alternatively, you can use the 
one I just built to get started: 
[saved-search.zip](https://github.com/user-attachments/files/18048761/saved-search.zip).
 You might notice the strange name `aa-solr-saved-search-10.0.0-SNAPSHOT.jar` 
.. this is a temporary hack to load saved-search classes _before_ 
lucene-monitor classes. This won't be necessary once lucene 9.12 is picked up. 
   2. you can pretty much follow the instructions of "Basic Configuration" in 
the README I just linked but any time you see a classpath pointing to a _new_ 
class like `solr.SavedSearchUpdateProcessorFactory` .. you will have to replace 
the resource path with `solr.savedsearch.update.*` or  
`solr.savedsearch.cache.*` or  `solr.savedsearch.search.*` depending on the 
class. That is unless you want to build the whole solr distribution from 
scratch .. because the resource loader name mapping is in solr-core which I've 
updated in this PR but is obviously not something you'll pick up if you just 
patch in that jar.
   


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