com.softslate.commerce.businessobjects.product
Interface LuceneIndexer

All Superinterfaces:
BusinessObject, BusinessProcessor
All Known Implementing Classes:
BasicLuceneIndexer

public interface LuceneIndexer
extends BusinessProcessor

Interface for classes that create the Lucene index for advanced search functionality. When the application needs to create an instance that implements LuceneIndexer, BusinessObjectFactory finds the name of the Java class to instantiate from the "luceneIndexerImplementer" setting in the appComponents.properties file.

The default "luceneIndexerImplementer" is BasicLuceneIndexer.

Author:
Jason McWilliams, David Tobey

Method Summary
 void addStringFields(org.apache.lucene.document.Document doc, java.lang.Object object, java.lang.StringBuffer contentBuffer)
           
 java.util.Map reindex(java.util.Map parameters)
           
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessProcessor
getAppComponents, getAppSettings, getBusinessObjectFactory, getDaoFactory, getSettings, getUser, setAppComponents, setAppSettings, setBusinessObjectFactory, setDaoFactory, setSettings, setUser, utils
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Method Detail

reindex

java.util.Map reindex(java.util.Map parameters)
                      throws java.lang.Exception
Throws:
java.lang.Exception

addStringFields

void addStringFields(org.apache.lucene.document.Document doc,
                     java.lang.Object object,
                     java.lang.StringBuffer contentBuffer)
                     throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © SoftSlate, LLC 2003–2005