public final class SolrIndexerService extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
buildErrorMessage(Exception exception)
Build the message error of an exception
|
static List<Field> |
getAdditionalFields()
Returns the list of all dynamic fields.
|
static String |
getBaseUrl()
Return the url of the webapp
|
static List<SolrIndexer> |
getIndexers()
Returns the indexers List
|
static String |
getWebAppName()
Return the name of the webapp
|
static String |
processDel()
Del sorl index related to this site.
|
static String |
processIndexing(boolean bCreate)
Process the indexing
|
static void |
write(SolrItem solrItem)
Index one document, called by plugin indexers
|
public static List<SolrIndexer> getIndexers()
public static void write(SolrItem solrItem) throws org.apache.lucene.index.CorruptIndexException, IOException
solrItem - The itemorg.apache.lucene.index.CorruptIndexException - corruptIndexExceptionIOException - i/o exceptionpublic static String processIndexing(boolean bCreate)
bCreate - tell if it's total indexing or total (total = true)public static String buildErrorMessage(Exception exception)
exception - The exceptionpublic static List<Field> getAdditionalFields()
public static String getBaseUrl()
public static String getWebAppName()
public static String processDel()
Copyright © 2015 Mairie de Paris. All rights reserved.