public class SolRSynchroniser extends Object implements ISolRSynchroniser
LanguageISolRSynchroniser| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
SolRSynchroniser(IsolrClient solrClient) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
commit()
Send a commit to the full text search engine
|
void |
deleteAll()
/!
|
void |
deleteAllByPlaceType(Class<? extends GisFeature> placetype) |
void |
handleEvent(IEvent event)
handle an event in order to synchronise Data (the event may be add,
update, delete a GIS object)
|
void |
handleEvent(PlaceTypeDeleteAllEvent placeTypeDeleteAllEvent) |
void |
optimize()
Send a optimize command to the full text search engine
|
public SolRSynchroniser(IsolrClient solrClient)
public void deleteAll()
ISolRSynchroniserdeleteAll in interface ISolRSynchroniserpublic void handleEvent(PlaceTypeDeleteAllEvent placeTypeDeleteAllEvent)
public void deleteAllByPlaceType(Class<? extends GisFeature> placetype)
public void handleEvent(IEvent event)
ISolRSynchroniserhandleEvent in interface ISolRSynchroniserevent - The event to handlepublic boolean commit()
ISolRSynchronisercommit in interface ISolRSynchroniserpublic void optimize()
ISolRSynchroniseroptimize in interface ISolRSynchroniserCopyright © 2015. All rights reserved.