In my case it should be possibility disable full-text search programmatically and use only own custom search. On the other hand full-text search should be enabled for some cases.
I used
core.search_backend_search_after
event for second case when there should be both of search(custom and full-text) But other events do not solve the problem with first case when there should be only custom search. Even if they help me to solve a part of problem there appeares another one
core.search_get_posts_data
Using event above i can modify sql query but can't modify count of results and users get wrong number of founded posts.
How can I realize both of search with possibility of switch between each others???