Page 1 of 1

restrict search to meta tags

Posted: Tue Jul 28, 1998 4:45 pm
by Thunderstone


Is there any way to restrict the searching so it only looks at meta tags
and not the text within the document? Thanks.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jessica Emerson
jessica@ag.arizona.edu
COA Network Administrator
http://ag.arizona.edu/agnet/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



restrict search to meta tags

Posted: Wed Jul 29, 1998 12:27 pm
by Thunderstone



You can create an index on the Meta field and change the sql in the
search script to search just that field.

Use something like this to create the index:
texis -s -d .../webinator/db "create metamorph index xhmeta on html(Meta)"
See http://www.thunderstone.com/texisman/node137.html
And http://www.thunderstone.com/gw2man/node15.html

Then change the SQL statements in the search script to search "Meta" instead
of "Title\Meta\Body" .

You'll need to issue the same "create metamorph index ..." command as above
after each walk as gw only updates the default indices.

You might want to include the document title too. In that case change
"Meta" to "Title\Meta" in the above description.



restrict search to meta tags

Posted: Thu Jun 07, 2001 10:09 am
by m.natz
Is there any way to restrict the searching so it only looks at meta tags with the 700$ webinator license? This above doesn't work.

Thanks.

restrict search to meta tags

Posted: Thu Jun 07, 2001 10:53 am
by mark
Yes. The above should work. In what way does it not?