: Thank you.... I found the API to get the existing SolrIndexSearcher to be
: present in SolrCore:
: SolrCore.getSearcher().get()

I think perhaps you need to take 5 big steps back and explain what your 
goal is.  99.999% of all solr users should never care about that method -- 
even the 99.9% of the folks writing java code and using "EmbeddedSolr" 
should never ever have a need to call those -- so what exactly is it you 
are doing, and how did you get along hte path you find yourself on?

this thread started with some fairly innoculous questions about how caches 
worked in regardes to new searchers -- which is all fine and dandy, those 
concepts that solr users should be aware of ... in the abstract.  you 
should almost never be instantiating those IndexSearchers or Caches 
yourself.

Stick with teh SolrServer abstraction provided by SolrJ...

http://wiki.apache.org/solr/Solrj#EmbeddedSolrServer
http://lucene.apache.org/solr/api/org/apache/solr/client/solrj/SolrServer.html


-Hoss

Reply via email to