public HighlightOptions addField ( String fieldname ) { Assert . hasText ( fieldname , "Fieldname must not be null nor empty!" ) ; return addField ( new SimpleField ( fieldname ) ) ; }
Add name of field to highlight on