Uses of Class
org.apache.lucene.util.CharsRef

Packages that use CharsRef
org.apache.lucene.analysis.synonym Analysis components for Synonyms. 
org.apache.lucene.util Some utility classes. 
 

Uses of CharsRef in org.apache.lucene.analysis.synonym
 

Methods in org.apache.lucene.analysis.synonym that return CharsRef
static CharsRef SynonymMap.Builder.analyze(Analyzer analyzer, String text, CharsRef reuse)
          Sugar: analyzes the text with the analyzer and separates by SynonymMap.WORD_SEPARATOR.
static CharsRef SynonymMap.Builder.join(String[] words, CharsRef reuse)
          Sugar: just joins the provided terms with SynonymMap.WORD_SEPARATOR.
 

Methods in org.apache.lucene.analysis.synonym with parameters of type CharsRef
 void SynonymMap.Builder.add(CharsRef input, CharsRef output, boolean includeOrig)
          Add a phrase->phrase synonym mapping.
static CharsRef SynonymMap.Builder.analyze(Analyzer analyzer, String text, CharsRef reuse)
          Sugar: analyzes the text with the analyzer and separates by SynonymMap.WORD_SEPARATOR.
static CharsRef SynonymMap.Builder.join(String[] words, CharsRef reuse)
          Sugar: just joins the provided terms with SynonymMap.WORD_SEPARATOR.
 

Uses of CharsRef in org.apache.lucene.util
 

Methods in org.apache.lucene.util that return types with arguments of type CharsRef
static Comparator<CharsRef> CharsRef.getUTF16SortedAsUTF8Comparator()
           
 

Methods in org.apache.lucene.util with parameters of type CharsRef
 boolean CharsRef.charsEquals(CharsRef other)
           
 int CharsRef.compareTo(CharsRef other)
          Signed int order comparison
 void CharsRef.copy(CharsRef other)
          Copies the given CharsRef referenced content into this instance starting at offset 0.
static void UnicodeUtil.UTF8toUTF16(byte[] utf8, int offset, int length, CharsRef chars)
          Interprets the given byte array as UTF-8 and converts to UTF-16.
static void UnicodeUtil.UTF8toUTF16(BytesRef bytesRef, CharsRef chars)
          Utility method for UnicodeUtil.UTF8toUTF16(byte[], int, int, CharsRef)
 

Constructors in org.apache.lucene.util with parameters of type CharsRef
CharsRef(CharsRef other)
          Creates a new CharsRef and copies the contents of the source into the new instance.
 



Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.