Page 1 of 1

Changing Search behaviour

Posted: Thu Jan 10, 2008 2:37 am
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

Changing Search behaviour

Posted: Thu Jan 10, 2008 10:17 am
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.