|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SolrMgrIf
SolrMgrIf Interface which an implementation of this manager must adhere to.
| Method Summary | |
|---|---|
SuggestedSearchItem[] |
getSuggestedSearchItems(java.lang.String sessionId,
SuggestedSearchOptionsIf options)
Method that uses SOLR Terms in order to get suggested search data based on a search string. |
void |
refreshConfigs()
Get the config variables needed to setup the Solr mgr |
void |
removeProductFromSearchEngine(int productId)
Remove a single product referenced by productId from the Solr search engine |
SolrProducts |
searchForProducts(java.lang.String sessionId,
DataDescriptorIf dataDesc,
ProductSearchIf prodSearch,
int priceId,
int languageId)
This method only gets called if the Solr search engine is activated and if the prodSearch contains some text. |
boolean |
useSolr()
Returns true if Solr can be used, otherwise it returns false |
| Method Detail |
|---|
SolrProducts searchForProducts(java.lang.String sessionId,
DataDescriptorIf dataDesc,
ProductSearchIf prodSearch,
int priceId,
int languageId)
throws java.lang.Exception
sessionId - dataDesc - prodSearch - priceId - languageId -
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
SuggestedSearchItem[] getSuggestedSearchItems(java.lang.String sessionId,
SuggestedSearchOptionsIf options)
throws java.lang.Exception
sessionId - May be left nulloptions -
KKException
java.lang.Exception
void refreshConfigs()
throws java.lang.Exception
java.lang.Exception
boolean useSolr()
throws KKException
KKException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||