|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AdminSolrMgrIf
AdminSolrMgrIf
| Method Summary | |
|---|---|
void |
addAllProductsToSearchEngine(boolean async)
Loop through all of the products in the KonaKart database and add them to the Solr search engine. |
void |
addAllProductsToSearchEngineSync()
Loop through all of the products in the KonaKart database and add them to the Solr search engine |
void |
addProductToSearchEngine(int productId)
Add a single product referenced by productId to the Solr search engine |
void |
addProductToSearchEngine(int productId,
java.lang.String storeId)
Add a single product referenced by productId to the Solr search engine. |
int |
getSolrCommitFrequency()
The chunk size of records read from the database and written to SOLR after which a SOLR commit command is sent. |
void |
refreshConfigs()
Refresh the configuration of the Admin Solr Manager |
void |
removeAllProductsFromSearchEngine(boolean async)
Remove all products from the Solr search engine. |
void |
removeAllProductsFromSearchEngineSync()
Remove all products from the Solr search engine |
void |
removeProductFromSearchEngine(int productId)
Remove a single product referenced by productId from the Solr search engine |
void |
removeProductFromSearchEngine(int productId,
java.lang.String storeId)
Remove a single product referenced by productId from the Solr search engine. |
boolean |
useSolr()
Returns true if Solr can be used, otherwise it returns false |
| Method Detail |
|---|
void addAllProductsToSearchEngine(boolean async)
throws java.lang.Exception
async - If true we do it asynchronously
java.lang.Exception
void addAllProductsToSearchEngineSync()
throws java.lang.Exception
java.lang.Exception
void removeAllProductsFromSearchEngine(boolean async)
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException,
java.lang.Exception
async - If true we do it asynchronously
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
java.lang.Exception
void removeAllProductsFromSearchEngineSync()
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException,
java.lang.Exception
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
java.lang.Exception
void removeProductFromSearchEngine(int productId)
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException,
java.lang.Exception
productId -
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
java.lang.Exception
void removeProductFromSearchEngine(int productId,
java.lang.String storeId)
throws org.apache.torque.TorqueException,
com.workingdogs.village.DataSetException,
java.lang.Exception
productId - storeId -
org.apache.torque.TorqueException
com.workingdogs.village.DataSetException
java.lang.Exception
void addProductToSearchEngine(int productId)
throws java.lang.Exception
productId -
java.lang.Exception
void addProductToSearchEngine(int productId,
java.lang.String storeId)
throws java.lang.Exception
productId - storeId -
java.lang.Exception
void refreshConfigs()
throws java.lang.Exception
java.lang.Exception
boolean useSolr()
throws java.lang.Exception
java.lang.Exception
com.konakart.app.KKExceptionint getSolrCommitFrequency()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||