|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.avaje.ebean.config.lucene.IndexFieldDefn
public class IndexFieldDefn
| Nested Class Summary | |
|---|---|
static class |
IndexFieldDefn.Sortable
|
| Constructor Summary | |
|---|---|
IndexFieldDefn(String name)
|
|
IndexFieldDefn(String name,
org.apache.lucene.document.Field.Store store,
org.apache.lucene.document.Field.Index index,
IndexFieldDefn.Sortable sortable)
|
|
| Method Summary | |
|---|---|
IndexFieldDefn |
copyField(String name)
Use this IndexFieldDefn as a template copying all the settings to a new definition using the new name. |
IndexFieldDefn |
copyFieldConcat(String fieldName,
String[] properties)
Use this IndexFieldDefn as a template for a CONCATINATED string field. |
float |
getBoost()
Return the boost for this field. |
org.apache.lucene.document.Field.Index |
getIndex()
Return the index this field belongs to. |
org.apache.lucene.analysis.Analyzer |
getIndexAnalyzer()
Return the Analyzer to use to index the values for this field. |
String |
getName()
Return the index field name. |
int |
getPrecisionStep()
Return the precision step for this field. |
String |
getPropertyName()
Return the matching bean property name. |
String[] |
getPropertyNames()
Return the bean properties associated with this field. |
org.apache.lucene.analysis.Analyzer |
getQueryAnalyzer()
Return the Analyzer to use to query this field. |
IndexFieldDefn.Sortable |
getSortable()
Return the Sortable option for this field. |
org.apache.lucene.document.Field.Store |
getStore()
Return the Store option for this field. |
void |
setBoost(float boost)
Set the boost for this field. |
IndexFieldDefn |
setBothAnalyzers(org.apache.lucene.analysis.Analyzer analyzer)
Set the Analyzer to use to both query and index this field. |
IndexFieldDefn |
setIndex(org.apache.lucene.document.Field.Index index)
Set the index this field belongs to. |
IndexFieldDefn |
setIndexAnalyzer(org.apache.lucene.analysis.Analyzer indexAnalyzer)
Set the Analyzer to use to index the values for this field. |
IndexFieldDefn |
setPrecisionStep(int precisionStep)
Set the precision step for this field. |
IndexFieldDefn |
setPropertyName(String propertyName)
Set the associated bean property name. |
void |
setPropertyNames(String[] properties)
Set the bean properties associated with this field. |
IndexFieldDefn |
setQueryAnalyzer(org.apache.lucene.analysis.Analyzer queryAnalyzer)
Set the Analyzer to use to query this field. |
IndexFieldDefn |
setSortable(IndexFieldDefn.Sortable sortable)
Set the Sortable option for this field. |
IndexFieldDefn |
setStore(org.apache.lucene.document.Field.Store store)
Set the Store option for this field. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IndexFieldDefn(String name)
public IndexFieldDefn(String name,
org.apache.lucene.document.Field.Store store,
org.apache.lucene.document.Field.Index index,
IndexFieldDefn.Sortable sortable)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic IndexFieldDefn copyField(String name)
name - the name of the new IndexFieldDefn
public IndexFieldDefn copyFieldConcat(String fieldName,
String[] properties)
public String getName()
public String getPropertyName()
public IndexFieldDefn setPropertyName(String propertyName)
public org.apache.lucene.document.Field.Index getIndex()
public IndexFieldDefn setIndex(org.apache.lucene.document.Field.Index index)
public org.apache.lucene.document.Field.Store getStore()
public IndexFieldDefn setStore(org.apache.lucene.document.Field.Store store)
public IndexFieldDefn.Sortable getSortable()
public IndexFieldDefn setSortable(IndexFieldDefn.Sortable sortable)
public int getPrecisionStep()
public IndexFieldDefn setPrecisionStep(int precisionStep)
public float getBoost()
public void setBoost(float boost)
public org.apache.lucene.analysis.Analyzer getQueryAnalyzer()
public org.apache.lucene.analysis.Analyzer getIndexAnalyzer()
public IndexFieldDefn setQueryAnalyzer(org.apache.lucene.analysis.Analyzer queryAnalyzer)
public IndexFieldDefn setIndexAnalyzer(org.apache.lucene.analysis.Analyzer indexAnalyzer)
public IndexFieldDefn setBothAnalyzers(org.apache.lucene.analysis.Analyzer analyzer)
public String[] getPropertyNames()
public void setPropertyNames(String[] properties)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||