public static class WikiURLAnalyzer.URLField
extends org.apache.lucene.document.Field
Modifier and Type | Field and Description |
---|---|
static org.apache.lucene.document.FieldType |
TYPE_STORED
Indexed, not tokenized, omits norms, indexes
DOCS_ONLY, stored
|
Constructor and Description |
---|
URLField(String name,
String value)
Creates a new URLField.
|
binaryValue, boost, fieldType, name, numericValue, readerValue, setBoost, setBytesValue, setBytesValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setReaderValue, setShortValue, setStringValue, setTokenStream, stringValue, tokenStream, tokenStreamValue, toString
public static final org.apache.lucene.document.FieldType TYPE_STORED
public URLField(String name, String value)
name
- field namevalue
- String valueIllegalArgumentException
- if the field name or value is null.Copyright © 2017. All rights reserved.