Changing Search behaviour

Post Reply
wanah
Posts: 15
Joined: Mon Jul 30, 2007 2:29 am

Changing Search behaviour

Post by wanah »

Hi,

Can I know which section in the search script can I change in order to fine tune the searching pattern for our webinator 4.0.

To be more precise, I wanted my webinator to search in those title tags in those indexed documents and if possible, can we give higher priority in searching those content that is being enclosed by the <strong> tag.

Regards
Aik Heng
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Changing Search behaviour

Post by mark »

Title is already included in the default search. You can search by just title by setting tq in the search form:

<$sql="from html
where Title\Description\Keywords\Meta\Body " $liketype " $$q
and Title like $$tq
and Url matches $$uq
and Depth <= $$dq
and Catno matches $$cq
">


You can't prioritize text by it's html tags.
Post Reply