org.apache.jackrabbit.oak.plugins.index.lucene
Class FieldFactory

java.lang.Object
  extended by org.apache.jackrabbit.oak.plugins.index.lucene.FieldFactory

public final class FieldFactory
extends Object

FieldFactory is a factory for Field instances with frequently used fields.


Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newPathField

public static org.apache.lucene.document.Field newPathField(String path)

newPropertyField

public static org.apache.lucene.document.Field newPropertyField(String name,
                                                                String value,
                                                                boolean tokenized,
                                                                boolean stored)

newFulltextField

public static org.apache.lucene.document.Field newFulltextField(String value)


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.