Package com.browseengine.bobo.facets.impl

Examples of com.browseengine.bobo.facets.impl.SimpleFacetHandler$SimpleBoboDocScorer


    static SimpleFacetHandler buildSimpleFacetHandler(String name,
                                                      String fieldName,
                                                      Set<String> depends,
                                                      TermListFactory<?> termListFactory,
                                                      int invertedIndexPenalty) {
        return new SimpleFacetHandler(name, fieldName, termListFactory, depends, invertedIndexPenalty);
    }
View Full Code Here


  @Override
  public List<FacetHandler<?>> getBean(Map<String, String> initProperties, String fullPrefix,
      SenseiPluginRegistry pluginRegistry) {
    List<FacetHandler<?>> ret = new ArrayList<FacetHandler<?>>();
    ret.add(new SimpleFacetHandler("handler1", "field1" , new PredefinedTermListFactory(Long.class),
        new HashSet<String>(), AdaptiveFacetFilter.DEFAULT_INVERTED_INDEX_PENALTY));
    ret.add(new SimpleFacetHandler("handler2", "field2" , new PredefinedTermListFactory(Long.class),
        new HashSet<String>(), AdaptiveFacetFilter.DEFAULT_INVERTED_INDEX_PENALTY));
    ret.add(new SimpleFacetHandler("handler3", "field3" , new PredefinedTermListFactory(Long.class),
        new HashSet<String>(), AdaptiveFacetFilter.DEFAULT_INVERTED_INDEX_PENALTY));
    return ret;
  }
View Full Code Here

TOP

Related Classes of com.browseengine.bobo.facets.impl.SimpleFacetHandler$SimpleBoboDocScorer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.