Package com.browseengine.bobo.query

Examples of com.browseengine.bobo.query.FacetBasedBoostScorerBuilder


    map = new HashMap<String,Float>();
    map.put("rabbit", 5.0f);
    map.put("dog", 7.0f);
      boostMaps.put("tag", map);
     
      Query q = new ScoreAdjusterQuery(new MatchAllDocsQuery(), new FacetBasedBoostScorerBuilder(boostMaps));
     
      BrowseRequest br = new BrowseRequest();
      br.setQuery(q);
    br.setOffset(0);
    br.setCount(10);
View Full Code Here


    map = new HashMap<String, Float>();
    map.put("rabbit", 5.0f);
    map.put("dog", 7.0f);
    boostMaps.put("tag", map);

    Query q = new ScoreAdjusterQuery(new MatchAllDocsQuery(), new FacetBasedBoostScorerBuilder(
        boostMaps));

    BrowseRequest br = new BrowseRequest();
    br.setQuery(q);
    br.setOffset(0);
View Full Code Here

TOP

Related Classes of com.browseengine.bobo.query.FacetBasedBoostScorerBuilder

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.