Class SolrSearchStrategy

java.lang.Object
com.hybris.backoffice.solrsearch.dataaccess.SolrSearchStrategy
All Implemented Interfaces:
com.hybris.backoffice.widgets.fulltextsearch.FullTextSearchStrategy

public class SolrSearchStrategy extends Object implements com.hybris.backoffice.widgets.fulltextsearch.FullTextSearchStrategy
  • Field Details

    • PREFERRED_STRATEGY_NAME

      public static final String PREFERRED_STRATEGY_NAME
      Expected value received through strategy socket of FullTextSearch widget that point to Solr strategy.
      See Also:
  • Constructor Details

    • SolrSearchStrategy

      public SolrSearchStrategy()
  • Method Details

    • getIndexedProperty

      protected IndexedProperty getIndexedProperty(String typeCode, String name)
    • getFieldType

      public String getFieldType(String typeCode, String fieldName)
      Specified by:
      getFieldType in interface com.hybris.backoffice.widgets.fulltextsearch.FullTextSearchStrategy
    • isLocalized

      public boolean isLocalized(String typeCode, String fieldName)
      Specified by:
      isLocalized in interface com.hybris.backoffice.widgets.fulltextsearch.FullTextSearchStrategy
    • getAvailableLanguages

      public Collection<String> getAvailableLanguages(String typeCode)
      Specified by:
      getAvailableLanguages in interface com.hybris.backoffice.widgets.fulltextsearch.FullTextSearchStrategy
    • getBackofficeFacetSearchConfigService

      protected BackofficeFacetSearchConfigService getBackofficeFacetSearchConfigService()
    • setBackofficeFacetSearchConfigService

      public void setBackofficeFacetSearchConfigService(BackofficeFacetSearchConfigService backofficeFacetSearchConfigService)
    • getAvailableOperators

      public Collection<com.hybris.cockpitng.search.data.ValueComparisonOperator> getAvailableOperators(String typeCode, String fieldName)
      Specified by:
      getAvailableOperators in interface com.hybris.backoffice.widgets.fulltextsearch.FullTextSearchStrategy
    • getAvailableOperators

      protected Collection<com.hybris.cockpitng.search.data.ValueComparisonOperator> getAvailableOperators(String fieldType)
    • getTypeMappings

      protected Map<String,String> getTypeMappings()
    • setTypeMappings

      public void setTypeMappings(Map<String,String> typeMappings)
    • getOperatorConfig

      protected Map<String,Set<String>> getOperatorConfig()
    • setOperatorConfig

      public void setOperatorConfig(Map<String,Set<String>> operatorConfig)
    • getStrategyName

      public String getStrategyName()
      Specified by:
      getStrategyName in interface com.hybris.backoffice.widgets.fulltextsearch.FullTextSearchStrategy