org.hibernate.search.util
public final class AnalyzerUtils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
displayTokens(org.apache.lucene.analysis.Analyzer analyzer,
String field,
String text) |
static void |
displayTokensWithFullDetails(org.apache.lucene.analysis.Analyzer analyzer,
String field,
String text) |
static void |
displayTokensWithPositions(org.apache.lucene.analysis.Analyzer analyzer,
String field,
String text) |
static String |
getTermText(org.apache.lucene.analysis.Token token) |
static List<String> |
tokenizedTermValues(org.apache.lucene.analysis.Analyzer analyzer,
String field,
String text) |
static org.apache.lucene.analysis.Token[] |
tokensFromAnalysis(org.apache.lucene.analysis.Analyzer analyzer,
String field,
String text) |
public static final Log log
public static List<String> tokenizedTermValues(org.apache.lucene.analysis.Analyzer analyzer, String field, String text) throws IOException
IOException
public static org.apache.lucene.analysis.Token[] tokensFromAnalysis(org.apache.lucene.analysis.Analyzer analyzer, String field, String text) throws IOException
IOException
public static void displayTokens(org.apache.lucene.analysis.Analyzer analyzer, String field, String text) throws IOException
IOException
public static void displayTokensWithPositions(org.apache.lucene.analysis.Analyzer analyzer, String field, String text) throws IOException
IOException
public static void displayTokensWithFullDetails(org.apache.lucene.analysis.Analyzer analyzer, String field, String text) throws IOException
IOException
public static String getTermText(org.apache.lucene.analysis.Token token)
Copyright © 2006–2015 Hibernate. All rights reserved.