added resultTextLength setting

use resultTextLength to define the message length for search results