The search engine can be configured by the 'eval' interface:
[0x08048000]> eval search. search.from = 0 search.to = 0 search.align = 0 search.flag = true search.verbose = true
The search.[from|to] is used to define the offset range limits for the searches.
'search.align' variable is used to determine that the only 'valid' search hits must have to fit in this alignement. For example. you can use 'e search.align=4' to get only the hits found in 4-byte aligned addresses.
The 'search.flag' boolean variable makes the engine setup flags when finding hits. If the search is stopped by the user with a ^C then a 'search_stop' flag will be added.