Why there isnt a search engine that can be integrated as plugin to your web app?
A search product that can be installed as part of the stack which will give keep crawling and indexing the db it is exposed to with a interface where users can query for data from the db. Ex: If StackOverflow decides to install this and give it access to their db, the product will crawl the whole db, index it and SO can start using this as their search functionality on the site.