public static interface PreAnalyzedField.PreAnalyzedParser
| Modifier and Type | Method and Description |
|---|---|
PreAnalyzedField.ParseResult |
parse(Reader reader,
org.apache.lucene.util.AttributeSource parent)
Parse input.
|
String |
toFormattedString(org.apache.lucene.document.Field f)
Format a field so that the resulting String is valid for parsing with
parse(Reader, AttributeSource). |
PreAnalyzedField.ParseResult parse(Reader reader, org.apache.lucene.util.AttributeSource parent) throws IOException
reader - input to read fromparent - parent who will own the resulting states (tokens with attributes)IOException - if a parsing error or IO error occursString toFormattedString(org.apache.lucene.document.Field f) throws IOException
parse(Reader, AttributeSource).f - field instanceIOException - If there is a low-level I/O error.Copyright © 2000–2014 The Apache Software Foundation. All rights reserved.