/lucene-3.6.0/lucene/contrib/analyzers/kuromoji/src/java/org/apache/lucene/analysis/ja/util/ |
H A D | ToStringUtil.java | 255 public static void getRomanization(Appendable builder, CharSequence s) throws IOException { argument 271 builder.append('k'); 278 builder.append('s'); 285 builder.append('t'); 292 builder.append('p'); 297 builder.append('a'); 301 builder.append("yi"); 304 builder.append("ye"); 307 builder.append('i'); 313 builder [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/analysis/ |
H A D | TestCharTokenizers.java | 36 StringBuilder builder = new StringBuilder(); 41 builder.append("\ud801\udc1cabc"); 43 builder.append(" "); 46 builder.insert(1023, "\ud801\udc1c"); 48 TEST_VERSION_CURRENT, new StringReader(builder.toString())); 49 assertTokenStreamContents(tokenizer, builder.toString().toLowerCase().split(" ")); 60 StringBuilder builder = new StringBuilder(); 62 builder.append("a"); 64 builder.append("\ud801\udc1cabc"); 66 TEST_VERSION_CURRENT, new StringReader(builder [all...] |
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/builders/ |
H A D | QueryTreeBuilder.java | 32 * This class should be used when there is a builder for each type of node. 37 * implements/extends until it finds a builder for that class/interface 39 * This class always check if there is a builder for the field name before it 43 * When a builder is found for a node, it's called and the node is passed to the 44 * builder. If the returned built object is not <code>null</code>, it's tagged 47 * The children are usually built before the parent node. However, if a builder 49 * delegated to this builder and it's responsible to build the node and its 58 * produced from their own associated builder. 75 * Associates a field name with a builder. 78 * @param builder th 80 setBuilder(String fieldName, QueryBuilder builder) argument 99 setBuilder(CharSequence fieldName, QueryBuilder builder) argument 109 setBuilder(Class<? extends QueryNode> queryNodeClass, QueryBuilder builder) argument 181 processNode(QueryNode node, QueryBuilder builder) argument [all...] |
/lucene-3.6.0/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/ |
H A D | FilterBuilderFactory.java | 35 FilterBuilder builder= builders.get(n.getNodeName()); 36 if(builder==null) 40 return builder.getFilter(n); 42 public void addBuilder(String nodeName,FilterBuilder builder) argument 44 builders.put(nodeName,builder);
|
H A D | QueryBuilderFactory.java | 35 QueryBuilder builder= builders.get(n.getNodeName()); 36 if(builder==null) 40 return builder.getQuery(n); 42 public void addBuilder(String nodeName,QueryBuilder builder) argument 44 builders.put(nodeName,builder);
|
/lucene-3.6.0/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ |
H A D | SpanQueryBuilderFactory.java | 36 public void addBuilder(String nodeName,SpanQueryBuilder builder) argument 38 builders.put(nodeName,builder); 42 SpanQueryBuilder builder= builders.get(e.getNodeName()); 43 if(builder==null) 47 return builder.getSpanQuery(e);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/charfilter/ |
H A D | HTMLStripCharFilterTest.java | 65 StringBuilder builder = new StringBuilder(); 71 builder.append(theChar); 73 + " Buffer so far: " + builder + "<EOB>", theChar == goldArray[position]); 76 assertEquals("'" + builder.toString() + "' is not equal to '" + gold + "'", 77 gold, builder.toString()); 84 StringBuilder builder = new StringBuilder(); 87 builder.append((char)ch); 89 String str = builder.toString(); 102 StringBuilder builder = new StringBuilder(); 106 builder [all...] |
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/analysis/ |
H A D | TestCharTokenizers.java | 42 StringBuilder builder = new StringBuilder(); 47 builder.append("\ud801\udc1cabc"); 49 builder.append(" "); 52 builder.insert(1023, "\ud801\udc1c"); 54 TEST_VERSION_CURRENT, new StringReader(builder.toString())); 55 assertTokenStreamContents(tokenizer, builder.toString().toLowerCase().split(" ")); 66 StringBuilder builder = new StringBuilder(); 68 builder.append("a"); 70 builder.append("\ud801\udc1cabc"); 72 TEST_VERSION_CURRENT, new StringReader(builder [all...] |
/lucene-3.6.0/solr/core/src/test/org/apache/solr/analysis/ |
H A D | LegacyHTMLStripCharFilterTest.java | 53 StringBuilder builder = new StringBuilder(); 59 builder.append(theChar); 61 + " Buffer so far: " + builder + "<EOB>", theChar == goldArray[position]); 64 assertEquals(gold, builder.toString()); 71 StringBuilder builder = new StringBuilder(); 74 builder.append((char)ch); 76 String str = builder.toString(); 91 StringBuilder builder = new StringBuilder(); 94 builder.append((char)ch); 96 String result = builder [all...] |
H A D | TestStandardFactories.java | 46 StringBuilder builder = new StringBuilder(); 48 builder.append("abcdefg"); // 7 * 100 = 700 char "word" 50 String longWord = builder.toString(); 76 StringBuilder builder = new StringBuilder(); 78 builder.append("abcdefg"); // 7 * 100 = 700 char "word" 80 String longWord = builder.toString();
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | SortedVIntList.java | 66 SortedVIntListBuilder builder = new SortedVIntListBuilder(); 68 builder.addInt(sortedInts[i]); 70 builder.done(); 78 SortedVIntListBuilder builder = new SortedVIntListBuilder(); 81 builder.addInt(nextInt); 84 builder.done(); 95 SortedVIntListBuilder builder = new SortedVIntListBuilder(); 98 builder.addInt(doc); 100 builder.done();
|
H A D | NumericUtils.java | 330 * You may implement a builder that adds clauses to a 336 public static void splitLongRange(final LongRangeBuilder builder, argument 339 splitRange(builder, 64, precisionStep, minBound, maxBound); 344 * You may implement a builder that adds clauses to a 350 public static void splitIntRange(final IntRangeBuilder builder, argument 353 splitRange(builder, 32, precisionStep, minBound, maxBound); 358 final Object builder, final int valSize, 380 addRange(builder, valSize, minBound, maxBound, shift); 386 addRange(builder, valSize, minBound, minBound | mask, shift); 388 addRange(builder, valSiz 357 splitRange( final Object builder, final int valSize, final int precisionStep, long minBound, long maxBound ) argument 397 addRange( final Object builder, final int valSize, long minBound, long maxBound, final int shift ) argument [all...] |
/lucene-3.6.0/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/suggest/fst/ |
H A D | LargeInputFST.java | 36 FSTCompletionBuilder builder = new FSTCompletionBuilder(buckets, sorter, shareMaxTail); 47 builder.add(scratch, count % buckets); 54 FSTCompletion completion = builder.build();
|
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/ |
H A D | QueryParserHelper.java | 48 private QueryBuilder builder; field in class:QueryParserHelper 54 * text parser, processor and builder. 63 * @param builder 64 * the query builder that will be initially set to this helper 72 QueryBuilder builder) { 76 this.builder = builder; 139 * The query builder that will be used to build an object from the query node 143 * the query builder used to build something from the query node tree 154 this.builder 71 QueryParserHelper(QueryConfigHandler queryConfigHandler, SyntaxParser syntaxParser, QueryNodeProcessor processor, QueryBuilder builder) argument [all...] |
/lucene-3.6.0/lucene/contrib/facet/src/test/org/apache/lucene/facet/taxonomy/writercache/cl2o/ |
H A D | TestCharBlockArray.java | 35 StringBuilder builder = new StringBuilder(); 47 builder.append(s); 56 builder.append(s); 67 builder.append(s); 70 assertEqualsInternal("GrowingCharArray<->StringBuilder mismatch.", builder, array); 80 assertEqualsInternal("GrowingCharArray<->StringBuilder mismatch after flush/load.", builder, array);
|
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/ext/ |
H A D | Extensions.java | 184 StringBuilder builder = new StringBuilder(field); 185 builder.append(this.extensionFieldDelimiter); 186 builder.append(extensionKey); 187 return escapeExtensionField(builder.toString());
|
/lucene-3.6.0/solr/test-framework/src/java/org/apache/solr/util/ |
H A D | DOMUtilTestBase.java | 35 private DocumentBuilder builder; field in class:DOMUtilTestBase 41 builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); 54 return builder.parse(new InputSource(new StringReader(xml)));
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/util/ |
H A D | TestCharsRef.java | 44 StringBuilder builder = new StringBuilder(); 50 builder.append(charArray, offset, length); 54 assertEquals(builder.toString(), ref.toString());
|
/lucene-3.6.0/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/ |
H A D | TestDataConfig.java | 57 javax.xml.parsers.DocumentBuilder builder = DocumentBuilderFactory 59 Document doc = builder.parse(new InputSource(new StringReader(xml)));
|
/lucene-3.6.0/solr/contrib/dataimporthandler-extras/src/test/org/apache/solr/handler/dataimport/ |
H A D | TestTikaEntityProcessor.java | 72 DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); 73 Document doc = builder.parse(new InputSource(new StringReader(conf)));
|
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/index/ |
H A D | CategoryContainer.java | 180 StringBuilder builder = new StringBuilder("CategoryContainer"); 182 builder.append('\n'); 183 builder.append('\t'); 184 builder.append(ca.toString()); 186 return builder.toString();
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/ |
H A D | LegacyHTMLStripCharFilter.java | 558 StringBuilder builder = (checkEscaped && escapedTags!=null) ? new StringBuilder() : null; 560 if (builder!=null) builder.append((char)ch); 563 if (builder!=null) builder.append((char)ch); 566 if (builder!=null) builder.append((char)ch); 573 if (builder!=null && escapedTags.contains(builder.substring(0, builder [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/hunspell/ |
H A D | HunspellStemmer.java | 356 StringBuilder builder = new StringBuilder().append("stem(").append(originalWord).append(")").append("\n"); 359 builder.append("- ").append(stem.getStem()).append(": "); 362 builder.append(prefix.getAppend()).append("+"); 365 builder.append(prefix.getStrip()).append("-"); 369 builder.append(stem.getStem()); 373 builder.append("-").append(suffix.getStrip()); 376 builder.append("+").append(suffix.getAppend()); 378 builder.append("\n"); 381 System.out.println(builder);
|
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/fst/ |
H A D | FSTCompletionBuilder.java | 237 final Builder<Object> builder = new Builder<Object>( 249 builder.add(Util.toIntsRef(entry, scratchIntsRef), empty); 254 return count == 0 ? null : builder.finish();
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | FrozenBufferedDeletes.java | 54 PrefixCodedTerms.Builder builder = new PrefixCodedTerms.Builder(); 56 builder.add(term); 58 terms = builder.finish();
|