cancel
Showing results for 
Search instead for 
Did you mean: 

how solr index a document in alfresco?

liang
Champ in-the-making
Champ in-the-making
Hi,

from the source code, solr "search.indexerComponent" is org.alfresco.repo.search.IndexerComponent. in side IndexerComponent, it refer to org.alfresco.repo.search.impl.solr.SolrIndexerAndSearcherFactory. But in this factory
    
public Indexer getIndexer(StoreRef storeRef) throws IndexerException
    {
        return new NoActionIndexer();
    }
As  its name implies, NoActionIndexer does nothing at all.

How a document is indexed when using solr?

Thanks!
2 REPLIES 2

jonash
Champ in-the-making
Champ in-the-making
Hi,

Alfresco content is indexed asynchronously by the Solr tracker. This presentation by Andy Hind gives a good overview: http://www.slideshare.net/alfresco/understanding-the-solr-integration

liang
Champ in-the-making
Champ in-the-making
thanks! It helps a lot.