/** * Registers the given class bridge for the currently configured entity type. Any subsequent analyzer, parameter * etc. configurations apply to this class bridge. * * @param instance a class bridge instance * @return a new {@link ClassBridgeMapping} following the method chaining pattern * @hsearch.experimental This method is considered experimental and it may be altered or removed in future releases * @throws org.hibernate.search.exception.SearchException in case the same bridge instance is passed more than once for the * currently configured entity type */ public ClassBridgeMapping classBridgeInstance(FieldBridge instance) { return new ClassBridgeMapping( mapping, entity, instance ); } }
public AnalyzerDefMapping analyzerDef(String name, Class<? extends TokenizerFactory> tokenizerFactory) { return analyzerDef( name, "", tokenizerFactory ); }
.entity( Departments.class ) .classBridge( CatDeptsFieldsClassBridge.class ) .name( "branchnetwork" ) .index( Index.YES ) .store( Store.YES ) .param( "sepChar", " " ) .classBridge( EquipmentType.class ) .name( "equiptype" ) .index( Index.YES ) .store( Store.YES ) .param( "C", "Cisco" ) .param( "D", "D-Link" ) .param( "K", "Kingston" ) .param( "3", "3Com" ) .indexed() .property( "deptsId", ElementType.FIELD ) .documentId().name( "id" )
/** * Registers the given class bridge for the currently configured entity type. Any subsequent analyzer, parameter * etc. configurations apply to this class bridge. * * @param instance a class bridge instance * @return a new {@link ClassBridgeMapping} following the method chaining pattern * @hsearch.experimental This method is considered experimental and it may be altered or removed in future releases * @throws org.hibernate.search.exception.SearchException in case the same bridge instance is passed more than once for the * currently configured entity type */ public ClassBridgeMapping classBridgeInstance(FieldBridge instance) { return new ClassBridgeMapping( mapping, entity, instance ); }
public AnalyzerDefMapping analyzerDef(String name, Class<? extends TokenizerFactory> tokenizerFactory) { return analyzerDef( name, "", tokenizerFactory ); }
public ClassBridgeMapping classBridge(Class<?> impl) { return new ClassBridgeMapping( mapping, entity, impl ); }
/** * Registers the given class bridge for the currently configured entity type. Any subsequent analyzer, parameter * etc. configurations apply to this class bridge. * * @param classBridge a class bridge instance * @return a new {@link ClassBridgeMapping} following the method chaining pattern * @hsearch.experimental This method is considered experimental and it may be altered or removed in future releases * @throws org.hibernate.search.exception.SearchException in case the same bridge instance is passed more than once for the * currently configured entity type */ public ClassBridgeMapping classBridgeInstance(FieldBridge classBridge) { return new ClassBridgeMapping( mapping, entity, classBridge ); } }
/** * Registers the given class bridge for the currently configured entity type. Any subsequent analyzer, parameter * etc. configurations apply to this class bridge. * * @param instance a class bridge instance * @return a new {@link ClassBridgeMapping} following the method chaining pattern * @hsearch.experimental This method is considered experimental and it may be altered or removed in future releases * @throws org.hibernate.search.exception.SearchException in case the same bridge instance is passed more than once for the * currently configured entity type */ public ClassBridgeMapping classBridgeInstance(FieldBridge instance) { return new ClassBridgeMapping( mapping, entity, instance ); } }
/** * Registers the given class bridge for the currently configured entity type. Any subsequent analyzer, parameter * etc. configurations apply to this class bridge. * * @param instance a class bridge instance * @return a new {@link ClassBridgeMapping} following the method chaining pattern * @hsearch.experimental This method is considered experimental and it may be altered or removed in future releases * @throws org.hibernate.search.exception.SearchException in case the same bridge instance is passed more than once for the * currently configured entity type */ public ClassBridgeMapping classBridgeInstance(FieldBridge instance) { return new ClassBridgeMapping( mapping, entity, instance ); }
/** * Registers the given class bridge for the currently configured entity type. Any subsequent analyzer, parameter * etc. configurations apply to this class bridge. * * @param classBridge a class bridge instance * @return a new {@link ClassBridgeMapping} following the method chaining pattern * @hsearch.experimental This method is considered experimental and it may be altered or removed in future releases * @throws org.hibernate.search.exception.SearchException in case the same bridge instance is passed more than once for the * currently configured entity type */ public ClassBridgeMapping classBridgeInstance(FieldBridge classBridge) { return new ClassBridgeMapping( mapping, entity, classBridge ); } }
public ClassBridgeMapping classBridge(Class<?> impl) { return new ClassBridgeMapping( mapping, entity, impl ); }
public ClassBridgeMapping classBridge(Class<?> impl) { return new ClassBridgeMapping( mapping, entity, impl ); }
public ClassBridgeMapping classBridge(Class<?> impl) { return new ClassBridgeMapping( mapping, entity, impl ); }
public ClassBridgeMapping classBridge(Class<?> impl) { return new ClassBridgeMapping( mapping, entity, impl ); }
public ClassBridgeMapping classBridge(Class<?> impl) { return new ClassBridgeMapping( mapping, entity, impl ); }