railo.runtime.search.lucene2.docs
Class FieldUtil

java.lang.Object
  extended by railo.runtime.search.lucene2.docs.FieldUtil

public class FieldUtil
extends Object


Constructor Summary
FieldUtil()
           
 
Method Summary
static void setAuthor(org.apache.lucene.document.Document doc, String author)
           
static void setContent(org.apache.lucene.document.Document doc, String content)
           
static void setCustom(org.apache.lucene.document.Document doc, String custom, int index)
           
static void setKeywords(org.apache.lucene.document.Document doc, String keywords)
           
static void setMimeType(org.apache.lucene.document.Document doc, String mimeType)
           
static void setRaw(org.apache.lucene.document.Document doc, String raw)
           
static void setSummary(org.apache.lucene.document.Document doc, String summary, boolean index)
           
static void setTitle(org.apache.lucene.document.Document doc, String title)
           
static void setURL(org.apache.lucene.document.Document doc, String urlpath)
           
static org.apache.lucene.document.Field Text(String name, String value)
           
static org.apache.lucene.document.Field Text(String name, String value, boolean store)
           
static org.apache.lucene.document.Field UnIndexed(String name, String value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldUtil

public FieldUtil()
Method Detail

UnIndexed

public static org.apache.lucene.document.Field UnIndexed(String name,
                                                         String value)

Text

public static org.apache.lucene.document.Field Text(String name,
                                                    String value)

Text

public static org.apache.lucene.document.Field Text(String name,
                                                    String value,
                                                    boolean store)

setTitle

public static void setTitle(org.apache.lucene.document.Document doc,
                            String title)

setSummary

public static void setSummary(org.apache.lucene.document.Document doc,
                              String summary,
                              boolean index)

setKeywords

public static void setKeywords(org.apache.lucene.document.Document doc,
                               String keywords)

setAuthor

public static void setAuthor(org.apache.lucene.document.Document doc,
                             String author)

setURL

public static void setURL(org.apache.lucene.document.Document doc,
                          String urlpath)

setCustom

public static void setCustom(org.apache.lucene.document.Document doc,
                             String custom,
                             int index)

setContent

public static void setContent(org.apache.lucene.document.Document doc,
                              String content)

setRaw

public static void setRaw(org.apache.lucene.document.Document doc,
                          String raw)

setMimeType

public static void setMimeType(org.apache.lucene.document.Document doc,
                               String mimeType)


Copyright © 2012 Railo