org.apache.solr.schema
public static interface PreAnalyzedField.PreAnalyzedParser
Modifier and Type | Method and Description |
---|---|
PreAnalyzedField.ParseResult |
parse(Reader reader,
AttributeSource parent)
Parse input.
|
String |
toFormattedString(Field f)
Format a field so that the resulting String is valid for parsing with
parse(Reader, AttributeSource) . |
PreAnalyzedField.ParseResult parse(Reader reader, 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(Field f) throws IOException
parse(Reader, AttributeSource)
.f
- field instanceIOException
- If there is a low-level I/O error.Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.