Examples of labelResult()


Examples of org.apache.lucene.facet.partitions.PartitionsFacetResultsHandler.labelResult()

          res.add(emptyResult(taxonomyReader.getOrdinal(fr.categoryPath), fr));
          continue;
        }
        FacetResult facetRes = frHndlr.renderFacetResult(tmpResult);
        // final labeling if allowed (because labeling is a costly operation)
        frHndlr.labelResult(facetRes);
        res.add(facetRes);
      }

      return res;
    }
View Full Code Here

Examples of org.apache.lucene.facet.partitions.PartitionsFacetResultsHandler.labelResult()

      // final labeling if allowed (because labeling is a costly operation)
      if (fres.getFacetResultNode().ordinal == TaxonomyReader.INVALID_ORDINAL) {
        // category does not exist, add an empty result
        results.add(emptyResult(fres.getFacetResultNode().ordinal, fr));
      } else {
        frh.labelResult(fres);
        results.add(fres);
      }
    }

    if (shouldOversample) {
View Full Code Here

Examples of org.apache.lucene.facet.partitions.PartitionsFacetResultsHandler.labelResult()

      // final labeling if allowed (because labeling is a costly operation)
      if (fres.getFacetResultNode().ordinal == TaxonomyReader.INVALID_ORDINAL) {
        // category does not exist, add an empty result
        results.add(emptyResult(fres.getFacetResultNode().ordinal, fr));
      } else {
        frh.labelResult(fres);
        results.add(fres);
      }
    }
   
    searchParams = original; // Back to original params
View Full Code Here

Examples of org.apache.lucene.facet.partitions.PartitionsFacetResultsHandler.labelResult()

          res.add(new FacetResult(fr, root, 0));
          continue;
        }
        FacetResult facetRes = frHndlr.renderFacetResult(tmpResult);
        // final labeling if allowed (because labeling is a costly operation)
        frHndlr.labelResult(facetRes);
        res.add(facetRes);
      }

      return res;
    }
View Full Code Here

Examples of org.apache.lucene.facet.partitions.PartitionsFacetResultsHandler.labelResult()

      // final labeling if allowed (because labeling is a costly operation)
      if (fres.getFacetResultNode().ordinal == TaxonomyReader.INVALID_ORDINAL) {
        // category does not exist, add an empty result
        results.add(emptyResult(fres.getFacetResultNode().ordinal, fres.getFacetRequest()));
      } else {
        frh.labelResult(fres);
        results.add(fres);
      }
    }
   
    searchParams = original; // Back to original params
View Full Code Here

Examples of org.apache.lucene.facet.partitions.PartitionsFacetResultsHandler.labelResult()

          res.add(emptyResult(taxonomyReader.getOrdinal(fr.categoryPath), fr));
          continue;
        }
        FacetResult facetRes = frHndlr.renderFacetResult(tmpResult);
        // final labeling if allowed (because labeling is a costly operation)
        frHndlr.labelResult(facetRes);
        res.add(facetRes);
      }

      return res;
    }
View Full Code Here

Examples of org.apache.lucene.facet.partitions.PartitionsFacetResultsHandler.labelResult()

      // final labeling if allowed (because labeling is a costly operation)
      if (fres.getFacetResultNode().ordinal == TaxonomyReader.INVALID_ORDINAL) {
        // category does not exist, add an empty result
        results.add(emptyResult(fres.getFacetResultNode().ordinal, fres.getFacetRequest()));
      } else {
        frh.labelResult(fres);
        results.add(fres);
      }
    }

    if (shouldOversample) {
View Full Code Here

Examples of org.apache.lucene.facet.partitions.PartitionsFacetResultsHandler.labelResult()

          res.add(emptyResult(taxonomyReader.getOrdinal(fr.categoryPath), fr));
          continue;
        }
        FacetResult facetRes = frHndlr.renderFacetResult(tmpResult);
        // final labeling if allowed (because labeling is a costly operation)
        frHndlr.labelResult(facetRes);
        res.add(facetRes);
      }

      return res;
    }
View Full Code Here

Examples of org.apache.lucene.facet.partitions.PartitionsFacetResultsHandler.labelResult()

     
      // Using the sampler to trim the extra (over-sampled) results
      fres = sampler.trimResult(fres);
     
      // final labeling if allowed (because labeling is a costly operation)
      frh.labelResult(fres);
      fixedRes.add(fres); // add to final results
    }

    delegee.searchParams = original; // Back to original params
   
View Full Code Here

Examples of org.apache.lucene.facet.partitions.PartitionsFacetResultsHandler.labelResult()

      // Using the sampler to trim the extra (over-sampled) results
      fres = sampler.trimResult(fres);

      // final labeling if allowed (because labeling is a costly operation)
      frh.labelResult(fres);
      fixedRes.add(fres); // add to final results
    }
   
    searchParams = original; // Back to original params
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.