|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.gouv.culture.sdx.utils.SdxObjectImpl
fr.gouv.culture.sdx.utils.database.Property
fr.gouv.culture.sdx.utils.lucene.LuceneDataField
Created by IntelliJ IDEA. User: rpandey Date: Dec 17, 2002 Time: 1:16:48 PM To change this template use Options | File Templates.
Field Summary | |
static int |
DATE
Field type "date". |
static int |
FIELD
Field type "field" |
static java.lang.String |
FIELD_TYPE_DATE
String representation of the field type. |
static java.lang.String |
FIELD_TYPE_FIELD
String representation of the field type. |
static java.lang.String |
FIELD_TYPE_UNINDEXED
String representation of the field type. |
static java.lang.String |
FIELD_TYPE_WORD
String representation of the field type. |
protected int |
fieldType
Le type de champ dont il s'agit. |
protected boolean |
store
Indique s'il doit �tre retourn� dans la liste des r�sultats. |
static int |
UNINDEXED
Field type "unindexed". |
static int |
WORD
Field type "word". |
Fields inherited from class fr.gouv.culture.sdx.utils.database.Property |
firstValue, name, values |
Fields inherited from class fr.gouv.culture.sdx.utils.SdxObjectImpl |
encoding, logger |
Constructor Summary | |
LuceneDataField()
|
Method Summary | |
org.apache.lucene.document.Field |
getLuceneField(java.lang.String content)
Returns the Lucene field for the search field. |
java.lang.String |
getTypeName()
Returns the type Name of the field. |
void |
setFieldType(boolean store,
boolean index,
boolean token)
|
void |
setFieldType(java.lang.String type)
Sets the type for this field |
void |
setStore(boolean store)
|
Methods inherited from class fr.gouv.culture.sdx.utils.database.Property |
addValue, attemptToSetFirstValue, containsValue, deleteValue, getName, getValue, getValues, resetValues, setName, setValues |
Methods inherited from class fr.gouv.culture.sdx.utils.SdxObjectImpl |
enableLogging, getChildLogger, setEncoding |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int fieldType
protected boolean store
public static final java.lang.String FIELD_TYPE_WORD
public static final java.lang.String FIELD_TYPE_FIELD
public static final java.lang.String FIELD_TYPE_DATE
public static final java.lang.String FIELD_TYPE_UNINDEXED
public static final int WORD
public static final int FIELD
public static final int DATE
public static final int UNINDEXED
Constructor Detail |
public LuceneDataField()
Method Detail |
public void setFieldType(java.lang.String type)
type
- The field type as a string from our configuration object (element in app.xconf)public void setFieldType(boolean store, boolean index, boolean token)
public java.lang.String getTypeName()
public org.apache.lucene.document.Field getLuceneField(java.lang.String content)
content
- The field's content.public void setStore(boolean store)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |