com.avaje.ebean.config.lucene
Interface IndexDefnBuilder


public interface IndexDefnBuilder

A helper that can be used to build/define index fields on an index.

Author:
rbygrave

Method Summary
 void addAllFields()
          Add all the
 IndexFieldDefn addField(IndexFieldDefn fieldDefn)
           
 IndexFieldDefn addField(String propertyName)
           
 IndexFieldDefn addField(String propertyName, org.apache.lucene.document.Field.Store store, org.apache.lucene.document.Field.Index index, IndexFieldDefn.Sortable sortable)
           
 IndexFieldDefn addField(String propertyName, IndexFieldDefn.Sortable sortable)
           
 IndexFieldDefn addFieldConcat(String fieldName, org.apache.lucene.document.Field.Store store, org.apache.lucene.document.Field.Index index, String... propertyNames)
           
 IndexFieldDefn addFieldConcat(String fieldName, String... propertyNames)
           
 IndexDefnBuilder assocOne(String propertyName)
           
 IndexFieldDefn getField(String fieldName)
           
 List<IndexFieldDefn> getFields()
           
 

Method Detail

addAllFields

void addAllFields()
Add all the


assocOne

IndexDefnBuilder assocOne(String propertyName)

addField

IndexFieldDefn addField(IndexFieldDefn fieldDefn)

addField

IndexFieldDefn addField(String propertyName)

addField

IndexFieldDefn addField(String propertyName,
                        IndexFieldDefn.Sortable sortable)

addField

IndexFieldDefn addField(String propertyName,
                        org.apache.lucene.document.Field.Store store,
                        org.apache.lucene.document.Field.Index index,
                        IndexFieldDefn.Sortable sortable)

addFieldConcat

IndexFieldDefn addFieldConcat(String fieldName,
                              String... propertyNames)

addFieldConcat

IndexFieldDefn addFieldConcat(String fieldName,
                              org.apache.lucene.document.Field.Store store,
                              org.apache.lucene.document.Field.Index index,
                              String... propertyNames)

getField

IndexFieldDefn getField(String fieldName)

getFields

List<IndexFieldDefn> getFields()


Copyright © 2011. All Rights Reserved.