Package com.browseengine.bobo.facets.filter

Examples of com.browseengine.bobo.facets.filter.MultiValueORFacetFilter$MultiValueOrFacetDocIdSetIterator


    int depth = getDepth(props);
    boolean strict = isStrict(props);
    PathValueConverter valConverter = new PathValueConverter(depth,strict,_separator);
    String[] vals = new String[]{value};
   
    return _multiValue ? new MultiValueORFacetFilter(this,vals,valConverter,false) : new FacetOrFilter(this,vals,false,valConverter);
  }
View Full Code Here


      if (vals.length>0)
      {
      int depth = getDepth(prop);
        boolean strict = isStrict(prop);
      PathValueConverter valConverter = new PathValueConverter(depth,strict,_separator);
    return _multiValue ? new MultiValueORFacetFilter(this,vals,valConverter,isNot) : new FacetOrFilter(this,vals,isNot,valConverter);
      }
      else
      {
        if (isNot)
        {
View Full Code Here

  public RandomAccessFilter buildRandomAccessOrFilter(String[] vals,Properties prop,boolean isNot) throws IOException
  {
    RandomAccessFilter filter = null;
    if (vals.length > 1)
    {
      MultiValueORFacetFilter f = new MultiValueORFacetFilter(this,vals,false);      // catch the "not" case later
      if (!isNot) {
        AdaptiveFacetFilter af = new AdaptiveFacetFilter(new FacetDataCacheBuilder(){
 
        @Override
        public FacetDataCache build(BoboIndexReader reader) {
View Full Code Here

  public RandomAccessFilter buildRandomAccessOrFilter(String[] vals,Properties prop,boolean isNot) throws IOException
  {
    RandomAccessFilter filter = null;
    if (vals.length > 1)
    {
      MultiValueORFacetFilter f = new MultiValueORFacetFilter(this,vals,false);      // catch the "not" case later
      if (!isNot) {
        AdaptiveFacetFilter af = new AdaptiveFacetFilter(new SimpleDataCacheBuilder(getName(), _indexFieldName), f, vals, false);
        return af;
      }
      else{
View Full Code Here

    int depth = getDepth(props);
    boolean strict = isStrict(props);
    PathValueConverter valConverter = new PathValueConverter(depth,strict,_separator);
    String[] vals = new String[]{value};
   
    return _multiValue ? new MultiValueORFacetFilter(this,vals,valConverter,false) : new FacetOrFilter(this,vals,false,valConverter);
  }
View Full Code Here

      if (vals.length>0)
      {
      int depth = getDepth(prop);
        boolean strict = isStrict(prop);
      PathValueConverter valConverter = new PathValueConverter(depth,strict,_separator);
    return _multiValue ? new MultiValueORFacetFilter(this,vals,valConverter,isNot) : new FacetOrFilter(this,vals,isNot,valConverter);
      }
      else
      {
        if (isNot)
        {
View Full Code Here

  public RandomAccessFilter buildRandomAccessOrFilter(String[] vals,Properties prop,boolean isNot) throws IOException
  {
    RandomAccessFilter filter = null;
    if (vals.length > 1)
    {
      MultiValueORFacetFilter f = new MultiValueORFacetFilter(this,vals,false);      // catch the "not" case later
      if (!isNot) {
        AdaptiveFacetFilter af = new AdaptiveFacetFilter(new FacetDataCacheBuilder(){
 
        @Override
        public FacetDataCache build(BoboIndexReader reader) {
View Full Code Here

  @Override
  public RandomAccessFilter buildRandomAccessOrFilter(String[] vals, Properties prop, boolean isNot)
      throws IOException {
    RandomAccessFilter filter = null;
    if (vals.length > 1) {
      MultiValueORFacetFilter f = new MultiValueORFacetFilter(this, vals, false); // catch the "not"
                                                                                  // case later
      if (!isNot) {
        AdaptiveFacetFilter af = new AdaptiveFacetFilter(new SimpleDataCacheBuilder(getName(),
            _indexFieldName), f, vals, false);
        return af;
View Full Code Here

  public RandomAccessFilter buildRandomAccessOrFilter(String[] vals,Properties prop,boolean isNot) throws IOException
  {
    RandomAccessFilter filter = null;
    if (vals.length > 1)
    {
      MultiValueORFacetFilter f = new MultiValueORFacetFilter(this,vals,false);      // catch the "not" case later
      if (!isNot) {
        AdaptiveFacetFilter af = new AdaptiveFacetFilter(new SimpleDataCacheBuilder(getName(), _indexFieldName), f, vals, false);
        return af;
      }
      else{
View Full Code Here

    int depth = getDepth(props);
    boolean strict = isStrict(props);
    PathValueConverter valConverter = new PathValueConverter(depth, strict, _separator);
    String[] vals = new String[] { value };

    return _multiValue ? new MultiValueORFacetFilter(this, vals, valConverter, false)
        : new FacetOrFilter(this, vals, false, valConverter);
  }
View Full Code Here

TOP

Related Classes of com.browseengine.bobo.facets.filter.MultiValueORFacetFilter$MultiValueOrFacetDocIdSetIterator

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.