ome.services.fulltext
Class SimpleLuceneOptions

java.lang.Object
  extended by ome.services.fulltext.SimpleLuceneOptions
All Implemented Interfaces:
org.hibernate.search.bridge.LuceneOptions

public class SimpleLuceneOptions
extends Object
implements org.hibernate.search.bridge.LuceneOptions

Implementation of LuceneOptions which takes an existing instance and possible overrides for each of the values.

Since:
3.0-Beta3
Author:
Josh Moore, josh at glencoesoftware.com

Constructor Summary
SimpleLuceneOptions(org.hibernate.search.bridge.LuceneOptions opts, Field.Index index, Field.Store store)
           
SimpleLuceneOptions(org.hibernate.search.bridge.LuceneOptions opts, Field.Store store)
           
SimpleLuceneOptions(org.hibernate.search.bridge.LuceneOptions opts, Float boost)
           
SimpleLuceneOptions(org.hibernate.search.bridge.LuceneOptions opts, Float boost, Field.Index index, Field.Store store)
           
 
Method Summary
 Float getBoost()
           
 Field.Index getIndex()
           
 Field.Store getStore()
           
 Field.TermVector getTermVector()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleLuceneOptions

public SimpleLuceneOptions(org.hibernate.search.bridge.LuceneOptions opts,
                           Float boost)

SimpleLuceneOptions

public SimpleLuceneOptions(org.hibernate.search.bridge.LuceneOptions opts,
                           Field.Store store)

SimpleLuceneOptions

public SimpleLuceneOptions(org.hibernate.search.bridge.LuceneOptions opts,
                           Field.Index index,
                           Field.Store store)

SimpleLuceneOptions

public SimpleLuceneOptions(org.hibernate.search.bridge.LuceneOptions opts,
                           Float boost,
                           Field.Index index,
                           Field.Store store)
Method Detail

getBoost

public Float getBoost()
Specified by:
getBoost in interface org.hibernate.search.bridge.LuceneOptions

getIndex

public Field.Index getIndex()
Specified by:
getIndex in interface org.hibernate.search.bridge.LuceneOptions

getStore

public Field.Store getStore()
Specified by:
getStore in interface org.hibernate.search.bridge.LuceneOptions

getTermVector

public Field.TermVector getTermVector()
Specified by:
getTermVector in interface org.hibernate.search.bridge.LuceneOptions


OmeroJava Api

Version: Beta4.2.1-r8614-Beta4.2-b41

Copyright © 2009 The University of Dundee. All Rights Reserved.