Class LuceneIndexModel
- java.lang.Object
-
- org.hibernate.search.engine.backend.document.model.spi.AbstractIndexModel<LuceneIndexModel,LuceneIndexRoot,LuceneIndexField>
-
- org.hibernate.search.backend.lucene.document.model.impl.LuceneIndexModel
-
- All Implemented Interfaces:
AutoCloseable,IndexDescriptor,EventContextProvider
public class LuceneIndexModel extends AbstractIndexModel<LuceneIndexModel,LuceneIndexRoot,LuceneIndexField> implements AutoCloseable, IndexDescriptor
-
-
Constructor Summary
Constructors Constructor Description LuceneIndexModel(String hibernateSearchName, String mappedTypeName, IndexIdentifier identifier, LuceneIndexRoot rootNode, Map<String,LuceneIndexField> staticFields, List<? extends AbstractLuceneIndexFieldTemplate<?>> fieldTemplates, boolean hasNestedDocuments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()org.apache.lucene.analysis.AnalyzergetIndexingAnalyzer()org.apache.lucene.analysis.AnalyzergetSearchAnalyzer()booleanhasNestedDocuments()protected LuceneIndexModelself()-
Methods inherited from class org.hibernate.search.engine.backend.document.model.spi.AbstractIndexModel
eventContext, field, fieldOrNull, fieldOrNull, hibernateSearchName, identifier, mappedTypeName, root, staticFields, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hibernate.search.engine.backend.metamodel.IndexDescriptor
field, hibernateSearchName, root, staticFields
-
-
-
-
Constructor Detail
-
LuceneIndexModel
public LuceneIndexModel(String hibernateSearchName, String mappedTypeName, IndexIdentifier identifier, LuceneIndexRoot rootNode, Map<String,LuceneIndexField> staticFields, List<? extends AbstractLuceneIndexFieldTemplate<?>> fieldTemplates, boolean hasNestedDocuments)
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable
-
self
protected LuceneIndexModel self()
- Specified by:
selfin classAbstractIndexModel<LuceneIndexModel,LuceneIndexRoot,LuceneIndexField>
-
hasNestedDocuments
public boolean hasNestedDocuments()
-
getIndexingAnalyzer
public org.apache.lucene.analysis.Analyzer getIndexingAnalyzer()
-
getSearchAnalyzer
public org.apache.lucene.analysis.Analyzer getSearchAnalyzer()
-
-