|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SolrEventListener
Field Summary | |
---|---|
static org.slf4j.Logger |
log
|
Method Summary | |
---|---|
void |
newSearcher(SolrIndexSearcher newSearcher,
SolrIndexSearcher currentSearcher)
The searchers passed here are only guaranteed to be valid for the duration of this method call, so care should be taken not to spawn threads or asynchronous tasks with references to these searchers. |
void |
postCommit()
|
void |
postSoftCommit()
|
Methods inherited from interface org.apache.solr.util.plugin.NamedListInitializedPlugin |
---|
init |
Field Detail |
---|
static final org.slf4j.Logger log
Method Detail |
---|
void postCommit()
void postSoftCommit()
void newSearcher(SolrIndexSearcher newSearcher, SolrIndexSearcher currentSearcher)
EventParams.EVENT
parameter and set it to a value of either:
EventParams.FIRST_SEARCHER
- First Searcher eventEventParams.NEW_SEARCHER
- New Searcher eventif (currentSearcher != null) { nlst.add(CommonParams.EVENT, CommonParams.NEW_SEARCHER); } else { nlst.add(CommonParams.EVENT, CommonParams.FIRST_SEARCHER); }
newSearcher
- The new SolrIndexSearcher
to usecurrentSearcher
- The existing SolrIndexSearcher
. null if this is a firstSearcher event.AbstractSolrEventListener.addEventParms(org.apache.solr.search.SolrIndexSearcher, org.apache.solr.common.util.NamedList)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |