import org.hibernate.search.bridge.builtin.NumericFieldBridge;
import org.hibernate.search.bridge.builtin.StringEncodingCalendarBridge;
import org.hibernate.search.bridge.builtin.StringEncodingDateBridge;
import org.hibernate.search.bridge.builtin.impl.NullEncodingTwoWayFieldBridge;
import org.hibernate.search.bridge.builtin.impl.TwoWayString2FieldBridgeAdaptor;
<BUG>public abstract class LucenePropertyHelper implements PropertyHelper {
@Override</BUG>
public Object convertToPropertyType(String entityType, List<String> propertyPath, String value) {
final FieldBridge bridge = getFieldBridge( entityType, propertyPath);
return convertToPropertyType( entityType, propertyPath, value, bridge );

import org.hibernate.search.bridge.builtin.NumericFieldBridge;
import org.hibernate.search.bridge.builtin.StringEncodingCalendarBridge;
import org.hibernate.search.bridge.builtin.StringEncodingDateBridge;
import org.hibernate.search.bridge.builtin.impl.NullEncodingTwoWayFieldBridge;
import org.hibernate.search.bridge.builtin.impl.TwoWayString2FieldBridgeAdaptor;
public abstract class LucenePropertyHelper implements PropertyHelper {
@Override
public Object convertToBackendType(String entityType, List<String> propertyPath, Object value) {
return value;
}
@Override
public Object convertToPropertyType(String entityType, List<String> propertyPath, String value) {
final FieldBridge bridge = getFieldBridge( entityType, propertyPath);
return convertToPropertyType( entityType, propertyPath, value, bridge );
