[Zope] Search engine returning all pages?

Etienne Labuschagne etiennel@geospace.co.za
Wed, 23 May 2001 11:45:45 +0200


Hi all 

I have the following search form:

<form action="IsisSearch\results" target="Main" method="get">
Search text in pages and page titles:<br>
<input name="GetAllBodyText" width="10"><input type="submit" value="Go">
</form>
<hr>
<form action="IsisSearch\results" target="Main" method="get">
Search only page titles:<br>
<input name="title" type="text" width="10"><input type="submit" value="Go">
</form>

The search engine indexes title and GetAllBodyText.

This gives the user a choice of searching only titles, or all the text
(Including title and body).  I have indexed a method called GetAllBodyText
which returns both the body text and title_or_id text to the search engine
to index (as one string).

When I enter a word (or nothing) in either of the search boxes above, the
search engine returns ALL the pages in the catalogue, rather than none.
What am I doing wrong?

Any help would be greatly appreciated.
Regards
Etienne