Package org.hibernate.search.engine.impl

Examples of org.hibernate.search.engine.impl.LuceneOptionsImpl


  public void disableStateInspectionOptimizations() {
    stateInspectionOptimizationsEnabled = false;
  }

  public LuceneOptions getClassLuceneOptions(DocumentFieldMetadata fieldMetadata, float documentLevelBoost) {
    return new LuceneOptionsImpl( fieldMetadata, 1f, documentLevelBoost );
  }
View Full Code Here


  }

  public LuceneOptions getFieldLuceneOptions(PropertyMetadata propertyMetadata,
      DocumentFieldMetadata fieldMetadata,
      Object value, float documentBoost) {
    return new LuceneOptionsImpl(
        fieldMetadata,
        fieldMetadata.getBoost() * propertyMetadata.getDynamicBoostStrategy().defineBoost( value ),
        documentBoost
    );
  }
View Full Code Here

TOP

Related Classes of org.hibernate.search.engine.impl.LuceneOptionsImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.