/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/tst/ |
H A D | TSTAutocomplete.java | 35 * @param root 36 * a reference object to root of TST. 39 TernaryTreeNode root) { 42 root = insert(root, (String) tokens[mid], vals[mid], 0); 43 balancedTree(tokens, vals, lo, mid - 1, root); 44 balancedTree(tokens, vals, mid + 1, hi, root); 58 * @return currentNode The new reference to root node of TST 97 * @param root 98 * a reference to root nod 38 balancedTree(Object[] tokens, Object[] vals, int lo, int hi, TernaryTreeNode root) argument 106 prefixCompletion(TernaryTreeNode root, CharSequence s, int x) argument [all...] |
H A D | TSTLookup.java | 37 TernaryTreeNode root = new TernaryTreeNode(); field in class:TSTLookup 42 root = new TernaryTreeNode(); 59 autocomplete.balancedTree(tokens.toArray(), vals.toArray(), 0, tokens.size() - 1, root); 63 autocomplete.insert(root, key, value, 0); 69 List<TernaryTreeNode> list = autocomplete.prefixCompletion(root, key, 0); 96 List<TernaryTreeNode> list = autocomplete.prefixCompletion(root, key, 0); 180 writeRecursively(out, root); 191 root = new TernaryTreeNode(); 193 readRecursively(in, root);
|
/lucene-3.6.0/solr/client/ruby/flare/public/javascripts/ |
H A D | dragdrop.js | 847 var root = { 855 return Sortable._tree(element, options, root);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | DisjunctionMaxScorer.java | 106 private void scoreAll(int root, int size, int doc) throws IOException { argument 107 if (root < size && subScorers[root].docID() == doc) { 108 float sub = subScorers[root].score(); 111 scoreAll((root<<1)+1, size, doc); 112 scoreAll((root<<1)+2, size, doc); 139 /* The subtree of subScorers at root is a min heap except possibly for its root element. 140 * Bubble the root down as required to make the subtree a heap. 142 private void heapAdjust(int root) { argument [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/java/org/egothor/stemmer/ |
H A D | Trie.java | 74 int root; field in class:Trie 86 root = is.readInt(); 102 root = 0; 111 * @param root index of the row that is the root node 115 public Trie(boolean forward, int root, List<CharSequence> cmds, List<Row> rows) { argument 118 this.root = root; 131 Row now = getRow(root); 228 Row now = getRow(root); [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/compound/hyphenation/ |
H A D | TernaryTree.java | 113 protected char root; field in class:TernaryTree 126 root = 0; 151 root = insert(root, strkey, 0, val); 159 root = insert(root, key, start, val); 297 char p = root; 359 t.root = this.root; 388 // System.out.print("Before root splitcha [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/en/ |
H A D | KStemmer.java | 228 String root; field in class:KStemmer.DictEntry 230 DictEntry(String root, boolean isException) { argument 231 this.root = root; 604 /* see if the root ends in `e' */ 621 * try removing a doubled consonant. if the root isn't found in the 682 * variants that are mentioned in the dictionary (when the root is also 800 * if the root isn't in the dictionary, and the variant *is* there, then 802 * `capacity'->`capac'. If neither the variant nor the root form are in 1015 * accept it as the root [all...] |
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | RamUsageEstimator.java | 413 private static long measureObjectSize(Object root, boolean checkInterned) { argument 420 stack.add(root);
|
/lucene-3.6.0/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/ |
H A D | AbstractDataImportHandlerTestCase.java | 190 private final boolean root; field in class:AbstractDataImportHandlerTestCase.TestContext 194 List<Map<String, String>> entityFields, boolean root) { 198 this.root = root; 230 return root; 193 TestContext(Map<String, String> entityAttrs, Context delegate, List<Map<String, String>> entityFields, boolean root) argument
|
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/ |
H A D | DocBuilder.java | 55 private DataConfig.Entity root; field in class:DocBuilder 204 //we must not do a delete of *:* multiple times if there are multiple root entities to be run 213 root = e; 309 entityRunner = new EntityRunner(root,null, createProcessor(root)); 327 buildDocument(getVariableResolver(), null, null, root, true, null); 343 Set<Map<String, Object>> allPks = collectDelta(root, resolver, deletedKeys); 362 buildDocument(vri, null, map, root, true, null); 379 String keyName = root.isDocRoot ? root [all...] |