Class SimpleLuceneOptions

  • All Implemented Interfaces:
    org.hibernate.search.bridge.LuceneOptions

    @Deprecated
    public class SimpleLuceneOptions
    extends java.lang.Object
    implements org.hibernate.search.bridge.LuceneOptions
    Deprecated.
    Implementation of LuceneOptions which takes an existing instance and possible overrides for each of the values.
    Since:
    3.0-Beta3
    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleLuceneOptions​(org.hibernate.search.bridge.LuceneOptions opts, java.lang.Float boost)
      Deprecated.
       
      SimpleLuceneOptions​(org.hibernate.search.bridge.LuceneOptions opts, java.lang.Float boost, org.apache.lucene.document.Field.Index index, org.apache.lucene.document.Field.Store store)
      Deprecated.
       
      SimpleLuceneOptions​(org.hibernate.search.bridge.LuceneOptions opts, org.apache.lucene.document.Field.Index index, org.apache.lucene.document.Field.Store store)
      Deprecated.
       
      SimpleLuceneOptions​(org.hibernate.search.bridge.LuceneOptions opts, org.apache.lucene.document.Field.Store store)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void addFieldToDocument​(java.lang.String fieldName, java.lang.String indexedString, org.apache.lucene.document.Document document)
      Deprecated.
       
      void addNumericFieldToDocument​(java.lang.String fieldName, java.lang.Object numericValue, org.apache.lucene.document.Document document)
      Deprecated.
       
      java.lang.Float getBoost()
      Deprecated.
       
      org.apache.lucene.document.Field.Index getIndex()
      Deprecated.
       
      org.apache.lucene.document.Field.Store getStore()
      Deprecated.
       
      org.apache.lucene.document.Field.TermVector getTermVector()
      Deprecated.
       
      java.lang.String indexNullAs()
      Deprecated.
       
      boolean isCompressed()
      Deprecated.
       
      • 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,
                                   java.lang.Float boost)
        Deprecated.
      • SimpleLuceneOptions

        public SimpleLuceneOptions​(org.hibernate.search.bridge.LuceneOptions opts,
                                   org.apache.lucene.document.Field.Store store)
        Deprecated.
      • SimpleLuceneOptions

        public SimpleLuceneOptions​(org.hibernate.search.bridge.LuceneOptions opts,
                                   org.apache.lucene.document.Field.Index index,
                                   org.apache.lucene.document.Field.Store store)
        Deprecated.
      • SimpleLuceneOptions

        public SimpleLuceneOptions​(org.hibernate.search.bridge.LuceneOptions opts,
                                   java.lang.Float boost,
                                   org.apache.lucene.document.Field.Index index,
                                   org.apache.lucene.document.Field.Store store)
        Deprecated.
    • Method Detail

      • getBoost

        public java.lang.Float getBoost()
        Deprecated.
        Specified by:
        getBoost in interface org.hibernate.search.bridge.LuceneOptions
      • indexNullAs

        public java.lang.String indexNullAs()
        Deprecated.
        Specified by:
        indexNullAs in interface org.hibernate.search.bridge.LuceneOptions
      • getIndex

        public org.apache.lucene.document.Field.Index getIndex()
        Deprecated.
        Specified by:
        getIndex in interface org.hibernate.search.bridge.LuceneOptions
      • getStore

        public org.apache.lucene.document.Field.Store getStore()
        Deprecated.
        Specified by:
        getStore in interface org.hibernate.search.bridge.LuceneOptions
      • getTermVector

        public org.apache.lucene.document.Field.TermVector getTermVector()
        Deprecated.
        Specified by:
        getTermVector in interface org.hibernate.search.bridge.LuceneOptions
      • addFieldToDocument

        public void addFieldToDocument​(java.lang.String fieldName,
                                       java.lang.String indexedString,
                                       org.apache.lucene.document.Document document)
        Deprecated.
        Specified by:
        addFieldToDocument in interface org.hibernate.search.bridge.LuceneOptions
      • addNumericFieldToDocument

        public void addNumericFieldToDocument​(java.lang.String fieldName,
                                              java.lang.Object numericValue,
                                              org.apache.lucene.document.Document document)
        Deprecated.
        Specified by:
        addNumericFieldToDocument in interface org.hibernate.search.bridge.LuceneOptions
      • isCompressed

        public boolean isCompressed()
        Deprecated.
        Specified by:
        isCompressed in interface org.hibernate.search.bridge.LuceneOptions