Real-time search results.
Vanilla's search engine utilises AJAX and MySQL's powerful FULLTEXT feature to rapidly return, in real-time, any pages that match your search query. This is extremely fast and can search through tens of thousands of pages within milliseconds.
When you click on a returned result, the visited page will highlight the search terms until one of them is clicked on. Try searching for 'ajax' and clicking on a returned result.
You can also highlight items in the page via a specially crafted URL:
Page highlight URLs are appended with &q=your+search+words. This method also works with Friendly URLs.
The Vanilla search feature also supports MySQL's boolean option. This allows the inclusion of the following search switches:
- "term" search for exact match
- - exclude term, e.g., music -classical
- + must contain term, e.g., musical +classical
- * search for term beginning with, e.g., class* would return words such as class, classroom, classic etc.
We've engineered the search so that orphan pages, inactive pages and their children (whether active or not) are excluded from any search results. This prevents folks from looking at pages that are hidden, outdated or not ready for publishing yet.