Package com.flaptor.indextank.index.scorer

Examples of com.flaptor.indextank.index.scorer.FunctionRangeFilter


          Multimap<Integer, Pair<Float, Float>> filters = HashMultimap.create();
          for (RangeFilter filter : rangeFilters) {
        filters.put(filter.get_key(), new Pair<Float, Float>(filter.is_no_floor() ? null : (float)filter.get_floor(), filter.is_no_ceil() ? null : (float)filter.get_ceil()));
          }
         
          return new FunctionRangeFilter(scorer, dynamicDataManager, filters);
        }
View Full Code Here


        Multimap<Integer, Pair<Float, Float>> filters = HashMultimap.create();
        for (RangeFilter filter : rangeFilters) {
            filters.put(filter.get_key(), new Pair<Float, Float>(filter.is_no_floor() ? null : (float)filter.get_floor(), filter.is_no_ceil() ? null : (float)filter.get_ceil()));
        }
       
        return new FunctionRangeFilter(scorer, dynamicDataManager, filters);
    }
View Full Code Here

TOP

Related Classes of com.flaptor.indextank.index.scorer.FunctionRangeFilter

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.