I am using the AjaxSearch snippet in my site and it seems to work ok but it is not searching in the main content of my pages.
Most of the pages are built with chunks and I can only conclude that AjaxSearch does not look at this data.
Is there any way to achieve searching in the chunk data?
As google can easily index this data I guess it must be possible .
I am using this call in page:-
[!AjaxSearch? &AS_landing=`74` &parents=`1,5,4,7,8,63` &ajaxSearch=`0` &AS_showResults=`0` !]
and this in the results page:-
[!AjaxSearch? &AS_landing=`76` &parents=`7` &ajaxSearch=`0` &AS_showResults=`1` &AS_showForm=`0` &grabMax=`3`!]
Thanks for any ideas or help.
Cheers
iCOM
-
☆ A M B ☆
- 24,524 Posts
Google searches the finished, served web page. AjaxSearch searches the database. There is no way for it to tell which pages use a chunk. So if it searched the chunk table, how would it determine what pages to make links for?
It can search in TVs because TV content is directly tied to documents in the database, so it can create a link to the pages whose TVs have the given search term.
Thanks for your reply which all makes sense.
Is there any method to automatically populate the meta tags Title and Description with X number of characters taken from the chuck content that makes up a pages main content?
Cheers
iCOM