|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectservices.IndexingService
class IndexingService
Nutch+Solr Indexing service.
Property Summary | |
---|---|
static int |
DELETE_CMD
|
static int |
INDEX_CMD
constansts |
static int |
UPDATE_CMD
|
static Map |
conf
Get configuration |
static String |
indexingTimeStamp
Time stamp for last indexing. |
static Logger |
log
Logger |
boolean |
transactional
is not transactional |
Constructor Summary | |
IndexingService()
|
Method Summary | |
---|---|
boolean
|
addToQueue(String url, String wikiId, int command)
Adds the request to queue |
private boolean
|
callAnt(List toIndex, String wikiId, int command)
calls the ant command thread |
boolean
|
delete(String urlToRemove, String wikiId)
Adds the given url to the queue for deletion. |
boolean
|
index(String urlToIndex, String wikiId)
Adds the given url to the queue for indexing. |
boolean
|
update(String urlToUpdate, String wikiId)
Adds the given url to the queue for updating. |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Property Detail |
---|
static final int DELETE_CMD
static final int INDEX_CMD
static final int UPDATE_CMD
static Map conf
static String indexingTimeStamp
static Logger log
boolean transactional
Constructor Detail |
---|
IndexingService()
Method Detail |
---|
boolean addToQueue(String url, String wikiId, int command)
private boolean callAnt(List toIndex, String wikiId, int command)
boolean delete(String urlToRemove, String wikiId)
boolean index(String urlToIndex, String wikiId)
boolean update(String urlToUpdate, String wikiId)
Groovy Documentation