New Features
In order to use the database results, create a view for a search index and add an exposed filter for a fulltext search. There is a new setting in the block configuration to add db search results.
The search terms entered in the AI Search Block get used for a full text search and the database results appear under the streamed response.
I also have another module that puts a search box in the header and uses those terms to perform the searches.
There were more javascript changes than I wanted, getting the pager to work in the database results without a page refresh was challenging.
Many AI tools did help with my changes. I'm using this adaptation on two sites and like it.
Active
1.0
Code