I need the HTML created by a snippet to be indexed in the ajax search results. Anyone know how to do this easily?
I need the snippet content to be searchable. Right now only the document content is searchable.
-
☆ A M B ☆
- 24,524 Posts
How can it be searchable? AjaxSearch searches content in the database on a page basis. Snippet output is not tied to any one page. You would need to have something like AjaxSearch searching the snippet tables instead of the content table; then how would it know which document to display as a result?
I see what you’re saying because the snippet output isn’t tied to a specific page. It can be a little frustrating too, I use EZfaq in a couple of different places and none of the FAQ content show up in the site searches.
You will need to use a spider (or page crawler) type search engine to index the rendered output rather than the database.