Searched refs:reusableTokenStream (Results 1 - 25 of 56) sorted by relevance

123

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/
H A DLimitTokenCountAnalyzer.java49 public TokenStream reusableTokenStream(String fieldName, Reader reader) throws IOException { method in class:LimitTokenCountAnalyzer
51 delegate.reusableTokenStream(fieldName, reader), maxTokenCount
H A DPerFieldAnalyzerWrapper.java107 public TokenStream reusableTokenStream(String fieldName, Reader reader) throws IOException { method in class:PerFieldAnalyzerWrapper
112 return analyzer.reusableTokenStream(fieldName, reader);
H A DAnalyzer.java38 * and {@link #reusableTokenStream} implementations must be final! This is checked
57 Modifier.isFinal(clazz.getMethod("reusableTokenStream", String.class, Reader.class).getModifiers())
59 "Analyzer implementation classes or at least their tokenStream() and reusableTokenStream() implementations must be final";
79 public TokenStream reusableTokenStream(String fieldName, Reader reader) throws IOException { method in class:Analyzer
85 /** Used by Analyzers that implement reusableTokenStream
100 /** Used by Analyzers that implement reusableTokenStream
H A DReusableAnalyzerBase.java34 * extend {@link #reusableTokenStream(String, Reader)} or
67 public final TokenStream reusableTokenStream(final String fieldName, method in class:ReusableAnalyzerBase
108 * {@link Analyzer#reusableTokenStream(String, Reader)}.
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/
H A DTestAssertions.java32 public final TokenStream reusableTokenStream(String s, Reader r) { return null; } method in class:TestAssertions.TestAnalyzer1
39 public TokenStream reusableTokenStream(String s, Reader r) { return null; } method in class:TestAssertions.TestAnalyzer2
46 public TokenStream reusableTokenStream(String s, Reader r) { return null; } method in class:TestAssertions.TestAnalyzer3
53 public TokenStream reusableTokenStream(String s, Reader r) { return null; } method in class:TestAssertions.TestAnalyzer4
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/
H A DTestAssertions.java32 public final TokenStream reusableTokenStream(String s, Reader r) { return null; } method in class:TestAssertions.TestAnalyzer1
39 public TokenStream reusableTokenStream(String s, Reader r) { return null; } method in class:TestAssertions.TestAnalyzer2
46 public TokenStream reusableTokenStream(String s, Reader r) { return null; } method in class:TestAssertions.TestAnalyzer3
53 public TokenStream reusableTokenStream(String s, Reader r) { return null; } method in class:TestAssertions.TestAnalyzer4
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/shingle/
H A DShingleAnalyzerWrapper.java225 wrapped = defaultAnalyzer.reusableTokenStream(fieldName, reader);
244 public TokenStream reusableTokenStream(String fieldName, Reader reader) throws IOException { method in class:ShingleAnalyzerWrapper
248 streams.wrapped = defaultAnalyzer.reusableTokenStream(fieldName, reader);
252 TokenStream result = defaultAnalyzer.reusableTokenStream(fieldName, reader);
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/analyzing/
H A DAnalyzingQueryParser.java113 source = getAnalyzer().reusableTokenStream(field, new StringReader(termStr));
201 source = getAnalyzer().reusableTokenStream(field, new StringReader(termStr));
257 source = getAnalyzer().reusableTokenStream(field, new StringReader(termStr));
298 source = getAnalyzer().reusableTokenStream(field, new StringReader(part1));
336 source = getAnalyzer().reusableTokenStream(field, new StringReader(part2));
/lucene-3.6.0/lucene/contrib/icu/src/java/org/apache/lucene/collation/
H A DICUCollationKeyAnalyzer.java94 public TokenStream reusableTokenStream(String fieldName, Reader reader) method in class:ICUCollationKeyAnalyzer
/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/similar/
H A DSimilarityQueries.java88 TokenStream ts = a.reusableTokenStream( field, new StringReader( body));
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/collation/
H A DCollationKeyAnalyzer.java99 public TokenStream reusableTokenStream(String fieldName, Reader reader) method in class:CollationKeyAnalyzer
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/
H A DSolrAnalyzer.java65 public TokenStream reusableTokenStream(String fieldName, Reader reader) throws IOException { method in class:SolrAnalyzer
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/analysis/
H A DTestMockAnalyzer.java75 TokenStream stream = analyzer.reusableTokenStream("dummy", new StringReader(testString));
H A DTestAnalyzers.java193 assertTokenStreamContents(a.reusableTokenStream("dummy", new StringReader("1 2 3 4 5")), new String[] { "1", "2" }, new int[] { 0, 2 }, new int[] { 1, 3 }, 3);
198 assertTokenStreamContents(a.reusableTokenStream("dummy", new StringReader("1 2 3 4 5")), new String[] { "1", "2" }, new int[] { 0, 2 }, new int[] { 1, 3 }, 3);
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/th/
H A DTestThaiAnalyzer.java186 TokenStream ts = analyzer.reusableTokenStream("dummy", new StringReader("ภาษาไทย"));
189 ts = analyzer.reusableTokenStream("dummy", new StringReader("ภาษาไทย"));
/lucene-3.6.0/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/
H A DSpanOrTermsBuilder.java58 TokenStream ts=analyzer.reusableTokenStream(fieldName,new StringReader(value));
H A DTermsFilterBuilder.java62 TokenStream ts = analyzer.reusableTokenStream(fieldName, new StringReader(text));
H A DTermsQueryBuilder.java59 TokenStream ts = analyzer.reusableTokenStream(fieldName, new StringReader(text));
H A DLikeThisQueryBuilder.java81 TokenStream ts = analyzer.reusableTokenStream(fields[i],new StringReader(stopWords));
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/analysis/
H A DTestMockAnalyzer.java77 TokenStream stream = analyzer.reusableTokenStream("dummy", new StringReader(testString));
H A DTestAnalyzers.java193 assertTokenStreamContents(a.reusableTokenStream("dummy", new StringReader("1 2 3 4 5")), new String[] { "1", "2" }, new int[] { 0, 2 }, new int[] { 1, 3 }, 3);
198 assertTokenStreamContents(a.reusableTokenStream("dummy", new StringReader("1 2 3 4 5")), new String[] { "1", "2" }, new int[] { 0, 2 }, new int[] { 1, 3 }, 3);
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/query/
H A DQueryAutoStopWordAnalyzer.java315 result = delegate.reusableTokenStream(fieldName, reader);
339 public TokenStream reusableTokenStream(String fieldName, Reader reader) method in class:QueryAutoStopWordAnalyzer
353 streams.wrapped = delegate.reusableTokenStream(fieldName, reader);
368 TokenStream result = delegate.reusableTokenStream(fieldName, reader);
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/snowball/
H A DSnowballAnalyzer.java107 public TokenStream reusableTokenStream(String fieldName, Reader reader) method in class:SnowballAnalyzer
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/
H A DReadTokensTask.java95 stream = analyzer.reusableTokenStream(field.name(), reader);
/lucene-3.6.0/lucene/contrib/analyzers/smartcn/src/test/org/apache/lucene/analysis/cn/smart/
H A DTestSmartChineseAnalyzer.java188 TokenStream stream = analyzer.reusableTokenStream("", new StringReader(sb.toString()));
201 TokenStream stream = analyzer.reusableTokenStream("", new StringReader(sb.toString()));

Completed in 498 milliseconds

123