public class SolRSynchroniser extends Object implements ISolRSynchroniser
Language
ISolRSynchroniser
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()
ISolRSynchroniser
deleteAll
in interface ISolRSynchroniser
public void handleEvent(PlaceTypeDeleteAllEvent placeTypeDeleteAllEvent)
public void deleteAllByPlaceType(Class<? extends GisFeature> placetype)
public void handleEvent(IEvent event)
ISolRSynchroniser
handleEvent
in interface ISolRSynchroniser
event
- The event to handlepublic boolean commit()
ISolRSynchroniser
commit
in interface ISolRSynchroniser
public void optimize()
ISolRSynchroniser
optimize
in interface ISolRSynchroniser
Copyright © 2015. All rights reserved.