Package com.browseengine.bobo.facets.data

Examples of com.browseengine.bobo.facets.data.MultiValueWithWeightFacetDataCache


    return f;
  }
  @Override
  public MultiValueWithWeightFacetDataCache load(BoboIndexReader reader, WorkArea workArea) throws IOException
  {
    MultiValueWithWeightFacetDataCache dataCache = new MultiValueWithWeightFacetDataCache();
     
    dataCache.setMaxItems(_maxItems);

    if(_sizePayloadTerm == null)
    {
      dataCache.load(_indexFieldName, reader, _termListFactory, workArea);
    }
    else
    {
      dataCache.load(_indexFieldName, reader, _termListFactory, _sizePayloadTerm);
    }
    return dataCache;
  }
View Full Code Here


  public WeightedMFacetString(MultiValueFacetDataCache mDataCaches)
  {
    super(mDataCaches);
   
    MultiValueWithWeightFacetDataCache wmDataCaches = (MultiValueWithWeightFacetDataCache) mDataCaches;
    _weightArray = wmDataCaches._weightArray;
    weightBuf = new int[1024];
  }
View Full Code Here

  public WeightedMFacetDouble(MultiValueFacetDataCache mDataCaches)
  {
    super(mDataCaches);
   
    MultiValueWithWeightFacetDataCache wmDataCaches = (MultiValueWithWeightFacetDataCache) mDataCaches;
    _weightArray = wmDataCaches._weightArray;
    weightBuf = new int[1024];
  }
View Full Code Here

  public WeightedMFacetShort(MultiValueFacetDataCache mDataCaches)
  {
    super(mDataCaches);
   
    MultiValueWithWeightFacetDataCache wmDataCaches = (MultiValueWithWeightFacetDataCache) mDataCaches;
    _weightArray = wmDataCaches._weightArray;
    weightBuf = new int[1024];
  }
View Full Code Here

  public WeightedMFacetInt(MultiValueFacetDataCache mDataCaches)
  {
    super(mDataCaches);
   
    MultiValueWithWeightFacetDataCache wmDataCaches = (MultiValueWithWeightFacetDataCache) mDataCaches;
    _weightArray = wmDataCaches._weightArray;
    weightBuf = new int[1024];
  }
View Full Code Here

  public WeightedMFacetFloat(MultiValueFacetDataCache mDataCaches)
  {
    super(mDataCaches);
   
    MultiValueWithWeightFacetDataCache wmDataCaches = (MultiValueWithWeightFacetDataCache) mDataCaches;
    _weightArray = wmDataCaches._weightArray;
    weightBuf = new int[1024];
  }
View Full Code Here

  public WeightedMFacetLong(MultiValueFacetDataCache mDataCaches)
  {
    super(mDataCaches);
   
    MultiValueWithWeightFacetDataCache wmDataCaches = (MultiValueWithWeightFacetDataCache) mDataCaches;
    _weightArray = wmDataCaches._weightArray;
    weightBuf = new int[1024];
  }
View Full Code Here

  @SuppressWarnings("unchecked")
  @Override
  public MultiValueWithWeightFacetDataCache<?> load(BoboSegmentReader reader, WorkArea workArea)
      throws IOException {
    @SuppressWarnings("rawtypes")
    MultiValueWithWeightFacetDataCache<?> dataCache = new MultiValueWithWeightFacetDataCache();

    dataCache.setMaxItems(_maxItems);

    if (_sizePayloadTerm == null) {
      dataCache.load(_indexFieldName, reader, _termListFactory, workArea);
    } else {
      dataCache.load(_indexFieldName, reader, _termListFactory, _sizePayloadTerm);
    }
    return dataCache;
  }
View Full Code Here

TOP

Related Classes of com.browseengine.bobo.facets.data.MultiValueWithWeightFacetDataCache

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.