fr.paris.lutece.plugins.search.solr.indexer
Class SolrIndexerService

java.lang.Object
  extended by fr.paris.lutece.plugins.search.solr.indexer.SolrIndexerService

public final class SolrIndexerService
extends java.lang.Object

SolrIndexerService


Method Summary
static java.util.List<Field> getAdditionalFields()
          Returns the list of all dynamic fields.
static java.util.List<SolrIndexer> getIndexers()
          Returns the indexers List
static java.lang.String processIndexing(boolean bCreate)
          Process the indexing
static void write(SolrItem solrItem)
          Index one document, called by plugin indexers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIndexers

public static java.util.List<SolrIndexer> getIndexers()
Returns the indexers List

Returns:
the indexers List

write

public static void write(SolrItem solrItem)
                  throws org.apache.lucene.index.CorruptIndexException,
                         java.io.IOException
Index one document, called by plugin indexers

Parameters:
doc - the document to index
Throws:
org.apache.lucene.index.CorruptIndexException - corruptIndexException
java.io.IOException - i/o exception

processIndexing

public static java.lang.String processIndexing(boolean bCreate)
Process the indexing

Parameters:
bCreate - tell if it's total indexing or total (total = true)
Returns:
the result log of the indexing

getAdditionalFields

public static java.util.List<Field> getAdditionalFields()
Returns the list of all dynamic fields.

Returns:
the list of all additional fields


Copyright © 2011 Mairie de Paris. All Rights Reserved.