railo.runtime.search.lucene2.docs
Class FieldUtil
java.lang.Object
railo.runtime.search.lucene2.docs.FieldUtil
public class FieldUtil
- extends Object
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)
|
FieldUtil
public FieldUtil()
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