Searched defs:facets (Results 1 - 6 of 6) sorted by relevance
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/ |
H A D | FacetSource.java | 25 * Source items for facets. 31 /** Returns the next {@link CategoryContainer facets content item}. 35 public abstract CategoryContainer getNextFacets(CategoryContainer facets) throws NoMoreDataException, IOException; argument 39 printStatistics("facets");
|
H A D | RandomFacetSource.java | 33 * <li><b>max.doc.facets</b> - maximal #facets per doc (default: <b>10</b>). 34 * Actual number of facets in a certain doc would be anything between 1 and that number. 48 public CategoryContainer getNextFacets(CategoryContainer facets) throws NoMoreDataException, IOException { argument 49 if (facets == null) { 50 facets = new CategoryContainer(); 52 facets.clear(); 62 facets.addCategory(cp); 65 return facets; 77 maxDocFacets = config.get("max.doc.facets", 20 [all...] |
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/ |
H A D | AddFacetedDocTask.java | 30 * <li><b>with.facets</b>=<tells whether to actually add any facets to the document| Default: true> 31 * <br>This config property allows to easily compare the performance of adding docs with and without facets. 32 * Note that facets are created even when this is false, just that they are not added to the document (nor to the taxonomy). 45 private CategoryContainer facets = null; field in class:AddFacetedDocTask 52 // create the facets even if they should not be added - allows to measure the effect of just adding facets 53 facets = getRunData().getFacetSource().getNextFacets(facets); 54 withFacets = getRunData().getConfig().get("with.facets", tru [all...] |
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/response/ |
H A D | FieldStatsInfo.java | 45 Map<String,List<FieldStatsInfo>> facets; field in class:FieldStatsInfo 76 else if( "facets".equals( entry.getKey() ) ) { 78 facets = new HashMap<String, List<FieldStatsInfo>>(); 81 facets.put( ev.getKey(), vals ); 159 return facets;
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/component/ |
H A D | StatsValuesFactory.java | 72 private static final String FACETS = "facets"; 80 protected Map<String, Map<String, StatsValues>> facets = new HashMap<String, Map<String, StatsValues>>(); field in class:AbstractStatsValues 104 Map<String, StatsValues> addTo = facets.get(field); 107 facets.put(field, addTo); 159 facets.put(facetName, facetValues); 176 for (Map.Entry<String, Map<String, StatsValues>> entry : facets.entrySet()) {
|
H A D | FacetComponent.java | 97 for (DistribFieldFacet dff : rb._facetInfo.facets.values()) { 201 for (DistribFieldFacet dff : fi.facets.values()) { 288 for (DistribFieldFacet dff : fi.facets.values()) { 385 // request ((with responses from all shards) sent out to get facets... 389 for (DistribFieldFacet dff : fi.facets.values()) { 390 // no need to check these facets for refinement 462 DistribFieldFacet dff = fi.facets.get(key); 497 for (DistribFieldFacet dff : fi.facets.values()) { 498 NamedList<Object> fieldCounts = new NamedList<Object>(); // order is more important for facets 601 public LinkedHashMap<String,DistribFieldFacet> facets; field in class:FacetComponent.FacetInfo [all...] |
Completed in 16 milliseconds