public final class FieldFactory extends Object
FieldFactory
is a factory for Field
instances with
frequently used fields.Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.document.Field |
newFulltextField(String value) |
static org.apache.lucene.document.Field |
newPathField(String path) |
static org.apache.lucene.document.Field |
newPropertyField(String name,
String value,
boolean tokenized,
boolean stored) |
public static org.apache.lucene.document.Field newPathField(String path)
public static org.apache.lucene.document.Field newPropertyField(String name, String value, boolean tokenized, boolean stored)
public static org.apache.lucene.document.Field newFulltextField(String value)
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.