List of usage examples for org.apache.lucene.analysis.tokenattributes TypeAttributeImpl type
String type
To view the source code for org.apache.lucene.analysis.tokenattributes TypeAttributeImpl type.
Click Source Link
From source file:aos.lucene.analysis.AnalyzerUtils.java
License:Apache License
public static String getTerm(AttributeSource source) { TypeAttributeImpl attr = source.addAttribute(TypeAttributeImpl.class); return attr.type(); }
From source file:aos.lucene.analysis.AnalyzerUtils.java
License:Apache License
public static String getType(AttributeSource source) { TypeAttributeImpl attr = source.addAttribute(TypeAttributeImpl.class); return attr.type(); }