Package org.infinispan.query.impl
Class DefaultSearchMappingProvider
- java.lang.Object
-
- org.infinispan.query.impl.DefaultSearchMappingProvider
-
- All Implemented Interfaces:
ProgrammaticSearchMappingProvider
public class DefaultSearchMappingProvider extends Object implements ProgrammaticSearchMappingProvider
Defines default analyzers.- Since:
- 9.3.2
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultSearchMappingProvider.ConfigurableBufferSizeKeywordTokenizerFactory
Similar toKeywordTokenizerFactory
but with a configurable buffer size.
-
Constructor Summary
Constructors Constructor Description DefaultSearchMappingProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
defineMappings(Cache cache, org.hibernate.search.cfg.SearchMapping searchMapping)
Supply some custom programmatic mappings to Hibernate Search.
-
-
-
Method Detail
-
defineMappings
public void defineMappings(Cache cache, org.hibernate.search.cfg.SearchMapping searchMapping)
Description copied from interface:ProgrammaticSearchMappingProvider
Supply some custom programmatic mappings to Hibernate Search.- Specified by:
defineMappings
in interfaceProgrammaticSearchMappingProvider
- Parameters:
cache
- the indexed cache instancesearchMapping
- the mapping object to customize
-
-