/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/cl2o/ |
H A D | LabelToOrdinal.java | 48 * Adds a new label if its not yet in the table. 49 * Throws an {@link IllegalArgumentException} if the same label with 52 public abstract void addLabel(CategoryPath label, int ordinal); argument 55 * Adds a new label if its not yet in the table. 56 * Throws an {@link IllegalArgumentException} if the same label with 59 public abstract void addLabel(CategoryPath label, int prefixLen, int ordinal); argument 62 * @return the ordinal assigned to the given label, 63 * or {@link #InvalidOrdinal} if the label cannot be found in this table. 65 public abstract int getOrdinal(CategoryPath label); argument 68 * @return the ordinal assigned to the given label, 71 getOrdinal(CategoryPath label, int prefixLen) argument [all...] |
H A D | CompactLabelToOrdinal.java | 116 public void addLabel(CategoryPath label, int ordinal) { argument 121 int hash = CompactLabelToOrdinal.stringHashCode(label); 123 if (addLabel(this.hashArrays[i], label, hash, ordinal)) { 128 int prevVal = this.collisionMap.addLabel(label, hash, ordinal); 131 label.toString('/') + " prev ordinal " + prevVal); 136 public void addLabel(CategoryPath label, int prefixLen, int ordinal) { argument 141 int hash = CompactLabelToOrdinal.stringHashCode(label, prefixLen); 143 if (addLabel(this.hashArrays[i], label, prefixLen, hash, ordinal)) { 148 int prevVal = this.collisionMap.addLabel(label, prefixLen, hash, ordinal); 151 label 156 getOrdinal(CategoryPath label) argument 173 getOrdinal(CategoryPath label, int prefixLen) argument 242 addLabel(HashArray a, CategoryPath label, int hash, int ordinal) argument 262 addLabel(HashArray a, CategoryPath label, int prefixLen, int hash, int ordinal) argument 312 getOrdinal(HashArray a, CategoryPath label, int hash) argument 330 getOrdinal(HashArray a, CategoryPath label, int prefixLen, int hash) argument 369 stringHashCode(CategoryPath label) argument 379 stringHashCode(CategoryPath label, int prefixLen) argument [all...] |
H A D | CollisionMap.java | 107 public int get(CategoryPath label, int hash) { argument 111 while (e != null && !(hash == e.hash && label.equalsToSerialized(this.labelRepository, e.offset))) { 121 public int get(CategoryPath label, int prefixLen, int hash) { argument 125 while (e != null && !(hash == e.hash && label.equalsToSerialized(prefixLen, this.labelRepository, e.offset))) { 135 public int addLabel(CategoryPath label, int hash, int cid) { argument 138 if (e.hash == hash && label.equalsToSerialized(this.labelRepository, e.offset)) { 143 // new string; add to label repository 146 label.serializeAppendTo(labelRepository); 155 public int addLabel(CategoryPath label, int prefixLen, int hash, int cid) { argument 158 if (e.hash == hash && label [all...] |
/lucene-3.6.0/lucene/contrib/facet/src/test/org/apache/lucene/facet/taxonomy/writercache/cl2o/ |
H A D | TestCompactLabelToOrdinal.java | 70 CategoryPath label = new CategoryPath(uniqueValues[index], '/'); 72 int ord1 = map.getOrdinal(label); 73 int ord2 = compact.getOrdinal(label); 82 map.addLabel(label, ord1); 83 compact.addLabel(label, ord1); 88 CategoryPath label = new CategoryPath(uniqueValues[i], '/'); 89 int ord1 = map.getOrdinal(label); 90 int ord2 = compact.getOrdinal(label); 101 public void addLabel(CategoryPath label, int ordinal) { argument 102 map.put(new CategoryPath(label), ordina 106 addLabel(CategoryPath label, int prefixLen, int ordinal) argument 111 getOrdinal(CategoryPath label) argument 117 getOrdinal(CategoryPath label, int prefixLen) argument [all...] |
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/params/ |
H A D | FacetParams.java | 247 public static FacetRangeOther get(String label) { argument 249 return valueOf(label.toUpperCase()); 253 label+" is not a valid type of 'other' range facet information",e); 266 public static FacetDateOther get(String label) { argument 268 return valueOf(label.toUpperCase()); 272 label+" is not a valid type of 'other' range facet information",e); 300 public static FacetRangeInclude get(String label) { argument 302 return valueOf(label.toUpperCase()); 306 label+" is not a valid type of for range 'include' information",e);
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/results/ |
H A D | MutableFacetResultNode.java | 41 private CategoryPath label = null; field in class:MutableFacetResultNode 75 label = null; 88 * @param label 89 * label of the category path of this result. 95 CategoryPath label, List<FacetResultNode> subResults) { 99 this.label = label; 154 // label 179 return label; 183 * Set the label o 94 MutableFacetResultNode(int ordinal, double value, double residue, CategoryPath label, List<FacetResultNode> subResults) argument 187 setLabel(CategoryPath label) argument [all...] |
/lucene-3.6.0/solr/contrib/clustering/src/test/org/apache/solr/handler/clustering/carrot2/ |
H A D | MockClusteringAlgorithm.java | 66 StringBuilder label = new StringBuilder("Cluster " + documentIndex); 67 Cluster cluster = createCluster(label.toString(), documentIndex, document); 70 label.append("."); 71 label.append(i); 72 Cluster newCluster = createCluster(label.toString(), documentIndex, document); 73 cluster.addSubclusters(createCluster(label.toString(), documentIndex, document), newCluster);
|
/lucene-3.6.0/lucene/contrib/xml-query-parser/docs/ |
H A D | cctree.js | 30 function _CCTreeModelNode(id,label,link,alwaysOpen,initiallyOpen) 33 this.label = label; 39 // By default, childLabels[i] == children[i].label, 41 // a child label that is specific to that parent-child 51 else this.childLabels.push(child.label); 55 function _CCDisplayNode(modelNode,parentNode,treeId,label) 61 if (label) this.label = label; [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/fst/ |
H A D | FSTEnum.java | 56 protected abstract void setCurrentLabel(int label); argument 98 //System.out.println(" check pop curArc target=" + arcs[upto].target + " label=" + arcs[upto].label + " isLast?=" + arcs[upto].isLast()); 139 //System.out.println(" cycle upto=" + upto + " arc.label=" + arc.label + " (" + (char) arc.label + ") vs targetLabel=" + targetLabel); 141 if (arc.bytesPerArc != 0 && arc.label != -1) { 176 assert arc.label == targetLabel: "arc.label=" + arc.label [all...] |
H A D | Builder.java | 238 //System.out.println(" label=" + ((char) lastInput.ints[lastInput.offset+idx-1]) + " idx=" + idx + " inputCount=" + frontier[idx].inputCount + " doCompile=" + doCompile + " doPrune=" + doPrune); 465 //System.out.println("seg=" + segment + " FORCE final arc=" + (char) arc.label); 475 public int label; // really an "unsigned" byte field in class:Builder.Arc 544 assert arcs[numArcs-1].label == labelToMatch; 548 public void addArc(int label, Node target) { argument 549 assert label >= 0; 550 assert numArcs == 0 || label > arcs[numArcs-1].label: "arc[-1].label=" + arcs[numArcs-1].label 577 deleteLast(int label, Node target) argument [all...] |
H A D | NodeHash.java | 44 if (arc.label != scratchArc.label || 74 //System.out.println(" label=" + arc.label + " target=" + ((Builder.CompiledNode) arc.target).node + " h=" + h + " output=" + fst.outputs.outputToString(arc.output) + " isFinal?=" + arc.isFinal); 75 h = PRIME * h + arc.label; 95 //System.out.println(" label=" + scratchArc.label + " target=" + scratchArc.target + " h=" + h + " output=" + fst.outputs.outputToString(scratchArc.output) + " next?=" + scratchArc.flag(4) + " final?=" + scratchArc.isFinal()); 96 h = PRIME * h + scratchArc.label;
|
H A D | BytesRefFSTEnum.java | 107 protected void setCurrentLabel(int label) { argument 108 current.bytes[upto] = (byte) label;
|
H A D | IntsRefFSTEnum.java | 107 protected void setCurrentLabel(int label) { argument 108 current.ints[upto] = label;
|
H A D | Util.java | 159 //System.out.println(" cycle mid=" + mid + " label=" + (char) label + " output=" + minArcOutput); 179 result.ints[upto++] = arc.label; 187 //System.out.println(" cycle label=" + arc.label + " output=" + arc.output); 197 result.ints[upto++] = arc.label; 206 result.ints[upto++] = arc.label; 208 //System.out.println(" recurse prev label=" + (char) arc.label + " output=" + output); 214 //System.out.println(" recurse last label 772 emitDotState(Writer out, String name, String shape, String color, String label) argument 785 printableLabel(int label) argument [all...] |
H A D | FST.java | 70 /** Specifies allowed range of each int input label for 158 // If arc has this label then that arc is final/accepted 167 public int label; field in class:FST.Arc 180 // address (into the byte[]), or ord/address if label == END_LABEL 192 label = other.label; 224 b.append(" label=" + label); 392 assert arc.label != END_LABEL; 393 if (arc.label < cachedRootArc [all...] |
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/analysis/ |
H A D | TokenStreamToDot.java | 41 * label. */ 119 protected void writeArc(int fromNode, int toNode, String label, String style) { argument 121 if (label != null) { 122 out.print(" label=\"" + label + "\""); 130 protected void writeNode(int name, String label) { argument 132 if (label != null) { 133 out.print(" [label=\"" + label + "\"]"); 145 out.println(" graph [ fontsize=30 labelloc=\"t\" label [all...] |
/lucene-3.6.0/lucene/site/build/site/skin/ |
H A D | basic.css | 46 .note .label { 59 .warning .label { 72 .fixme .label {
|
/lucene-3.6.0/lucene/site/src/documentation/skins/lucene/css/ |
H A D | basic.css | 46 .note .label { 59 .warning .label { 72 .fixme .label {
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/fst/ |
H A D | FSTCompletion.java | 178 if (arc.label == FST.END_LABEL) { 180 return rootArc.label; 271 if (collect(res, num, rootArc.label, output, arc) && !collectAll) { 358 output.bytes[output.length++] = (byte) arc.label; 362 if (arc.label == FST.END_LABEL) {
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/taxonomy/directory/ |
H A D | DirectoryTaxonomyReader.java | 224 String label = getLabel(ordinal); 225 if (label==null) { 228 return new CategoryPath(label, delimiter); 233 String label = getLabel(ordinal); 234 if (label==null) { 238 result.add(label, delimiter);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | FieldCacheSanityChecker.java | 389 private final String label; field in class:FieldCacheSanityChecker.InsanityType 390 private InsanityType(final String label) { argument 391 this.label = label; 394 public String toString() { return label; }
|
/lucene-3.6.0/lucene/contrib/facet/src/test/org/apache/lucene/facet/index/ |
H A D | FacetsPayloadProcessorProviderTest.java | 81 int label = Integer.parseInt(facet.getLabel().getComponent(1)); 82 //System.out.println(label + ": " + weight); 84 System.out.println(label + ": " + weight);
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | BaseTestRangeFilter.java | 182 String label = a + ":" + aa + " vs " + b + ":" + bb; 183 assertEquals("length of " + label, aa.length(), bb.length()); 184 assertTrue("compare less than " + label, aa.compareTo(bb) < 0);
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | BaseTestRangeFilter.java | 182 String label = a + ":" + aa + " vs " + b + ":" + bb; 183 assertEquals("length of " + label, aa.length(), bb.length()); 184 assertTrue("compare less than " + label, aa.compareTo(bb) < 0);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/update/ |
H A D | UpdateHandler.java | 64 final String label = "Event Listener"; 68 SolrEventListener obj = core.createInitInstance(info,clazz,label,null); 72 SolrEventListener obj = core.createInitInstance(info,clazz,label,null);
|