/lucene-3.6.0/lucene/contrib/icu/src/java/org/apache/lucene/collation/ |
H A D | ICUCollationKeyFilter.java | 75 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:ICUCollationKeyFilter 95 char[] termBuffer = termAtt.buffer(); 96 String termText = new String(termBuffer, 0, termAtt.length()); 101 termAtt.resizeBuffer(encodedLength); 103 termAtt.setLength(encodedLength); 105 termAtt.buffer(), 0, encodedLength);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/ |
H A D | KeywordMarkerFilter.java | 37 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:KeywordMarkerFilter 74 if (keywordSet.contains(termAtt.buffer(), 0, termAtt.length())) {
|
H A D | LowerCaseFilter.java | 37 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:LowerCaseFilter 61 final char[] buffer = termAtt.buffer(); 62 final int length = termAtt.length();
|
H A D | PorterStemFilter.java | 51 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:PorterStemFilter 63 if ((!keywordAttr.isKeyword()) && stemmer.stem(termAtt.buffer(), 0, termAtt.length())) 64 termAtt.copyBuffer(stemmer.getResultBuffer(), 0, stemmer.getResultLength());
|
H A D | ASCIIFoldingFilter.java | 68 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:ASCIIFoldingFilter 73 final char[] buffer = termAtt.buffer(); 74 final int length = termAtt.length(); 83 termAtt.copyBuffer(output, 0, outputPos);
|
H A D | ISOLatin1AccentFilter.java | 42 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:ISOLatin1AccentFilter 47 final char[] buffer = termAtt.buffer(); 48 final int length = termAtt.length(); 55 termAtt.copyBuffer(output, 0, outputPos);
|
H A D | LengthFilter.java | 35 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:LengthFilter 59 final int len = termAtt.length();
|
H A D | StopFilter.java | 44 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:StopFilter 252 return !stopWords.contains(termAtt.buffer(), 0, termAtt.length());
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/collation/ |
H A D | CollationKeyFilter.java | 77 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:CollationKeyFilter 93 byte[] collationKey = collator.getCollationKey(termAtt.toString()).toByteArray(); 96 termAtt.resizeBuffer(encodedLength); 97 termAtt.setLength(encodedLength); 99 termAtt.buffer(), 0, encodedLength);
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/analysis/ |
H A D | TestISOLatin1AccentFilter.java | 27 CharTermAttribute termAtt = filter.getAttribute(CharTermAttribute.class); 28 assertTermEquals("Des", filter, termAtt); 29 assertTermEquals("mot", filter, termAtt); 30 assertTermEquals("cles", filter, termAtt); 31 assertTermEquals("A", filter, termAtt); 32 assertTermEquals("LA", filter, termAtt); 33 assertTermEquals("CHAINE", filter, termAtt); 34 assertTermEquals("A", filter, termAtt); 35 assertTermEquals("A", filter, termAtt); 36 assertTermEquals("A", filter, termAtt); 106 assertTermEquals(String expected, TokenStream stream, CharTermAttribute termAtt) argument [all...] |
H A D | TestASCIIFoldingFilter.java | 45 CharTermAttribute termAtt = filter.getAttribute(CharTermAttribute.class); 47 assertTermEquals("Des", filter, termAtt); 48 assertTermEquals("mot", filter, termAtt); 49 assertTermEquals("cles", filter, termAtt); 50 assertTermEquals("A", filter, termAtt); 51 assertTermEquals("LA", filter, termAtt); 52 assertTermEquals("CHAINE", filter, termAtt); 53 assertTermEquals("A", filter, termAtt); 54 assertTermEquals("A", filter, termAtt); 55 assertTermEquals("A", filter, termAtt); 1911 assertTermEquals(String expected, TokenStream stream, CharTermAttribute termAtt) argument [all...] |
H A D | TestKeywordMarkerFilter.java | 70 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:TestKeywordMarkerFilter.LowerCaseFilterMock 81 final String term = termAtt.toString().toLowerCase(Locale.ENGLISH); 82 termAtt.setEmpty().append(term);
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/ |
H A D | KeepWordFilter.java | 37 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:KeepWordFilter 54 return words.contains(termAtt.buffer(), 0, termAtt.length());
|
H A D | TrimFilter.java | 35 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:TrimFilter 48 char[] termBuffer = termAtt.buffer(); 49 int len = termAtt.length(); 69 termAtt.copyBuffer(termBuffer, start, (end - start)); 71 termAtt.setEmpty();
|
H A D | PatternReplaceFilter.java | 45 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:PatternReplaceFilter 67 this.m = p.matcher(termAtt); 78 termAtt.setEmpty().append(transformed);
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/analysis/ |
H A D | TestISOLatin1AccentFilter.java | 27 CharTermAttribute termAtt = filter.getAttribute(CharTermAttribute.class); 28 assertTermEquals("Des", filter, termAtt); 29 assertTermEquals("mot", filter, termAtt); 30 assertTermEquals("cles", filter, termAtt); 31 assertTermEquals("A", filter, termAtt); 32 assertTermEquals("LA", filter, termAtt); 33 assertTermEquals("CHAINE", filter, termAtt); 34 assertTermEquals("A", filter, termAtt); 35 assertTermEquals("A", filter, termAtt); 36 assertTermEquals("A", filter, termAtt); 106 assertTermEquals(String expected, TokenStream stream, CharTermAttribute termAtt) argument [all...] |
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/ar/ |
H A D | ArabicNormalizationFilter.java | 33 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:ArabicNormalizationFilter 42 int newlen = normalizer.normalize(termAtt.buffer(), termAtt.length()); 43 termAtt.setLength(newlen);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/fa/ |
H A D | PersianNormalizationFilter.java | 34 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:PersianNormalizationFilter 43 final int newlen = normalizer.normalize(termAtt.buffer(), 44 termAtt.length()); 45 termAtt.setLength(newlen);
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/in/ |
H A D | IndicNormalizationFilter.java | 31 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:IndicNormalizationFilter 41 termAtt.setLength(normalizer.normalize(termAtt.buffer(), termAtt.length()));
|
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/ru/ |
H A D | RussianLowerCaseFilter.java | 35 private CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:RussianLowerCaseFilter 46 char[] chArray = termAtt.buffer(); 47 int chLen = termAtt.length();
|
/lucene-3.6.0/lucene/contrib/icu/src/java/org/apache/lucene/analysis/icu/ |
H A D | ICUNormalizer2Filter.java | 56 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:ICUNormalizer2Filter 81 if (normalizer.quickCheck(termAtt) != Normalizer.YES) { 83 normalizer.normalize(termAtt, buffer); 84 termAtt.setEmpty().append(buffer);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/standard/ |
H A D | ClassicFilter.java | 39 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:ClassicFilter 51 final char[] buffer = termAtt.buffer(); 52 final int bufferLength = termAtt.length(); 60 termAtt.setLength(bufferLength - 2); 68 termAtt.setLength(upto);
|
H A D | StandardFilter.java | 50 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:StandardFilter 65 final char[] buffer = termAtt.buffer(); 66 final int bufferLength = termAtt.length(); 74 termAtt.setLength(bufferLength - 2); 82 termAtt.setLength(upto);
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | Test2BPostings.java | 83 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:Test2BPostings.MyTokenStream 88 termAtt.setLength(1); 89 buffer = termAtt.buffer();
|
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/analysis/ |
H A D | CannedTokenStream.java | 33 private final CharTermAttribute termAtt = addAttribute(CharTermAttribute.class); field in class:CannedTokenStream 49 termAtt.setEmpty(); 50 termAtt.append(token.toString());
|