.forEntity( ArrayBridgeTestEntity.class ).get();
TermMatchingContext termMatchingContext = queryBuilder.keyword().onField( fieldName );
if ( checkNullToken ) {
termMatchingContext.ignoreFieldBridge();
}
Query query = termMatchingContext.ignoreAnalyzer().matching( value ).createQuery();
return fullTextSession.createFullTextQuery( query, ArrayBridgeTestEntity.class ).list();
}
@SuppressWarnings("unchecked")
private List<ArrayBridgeTestEntity> findResults(String fieldName, Object value, boolean checkNullToken) {