On Sat, Jun 30, 2001 at 02:23:45PM +0800, Alexander F. Avdonkin wrote:
> You should:
> In mysql
> insert into subsets(mask) values
> 'http://www.ultraviolet.org/mail-archives/kplug.2001/%');
> insert into subsets(mask) values
> 'http://www.ultraviolet.org/mail-archives/pilot.2001/%');
> Then run "index -B".

Ok, I did this:

mysql> select * from subsets;
+-----------+-------------------------------------------------------+
| subset_id | mask                                                  |
+-----------+-------------------------------------------------------+
|         1 | http://www.ultraviolet.org/mail-archives/kplug.2001/% |
|         2 | http://www.ultraviolet.org/mail-archives/pilot.2001/% |
+-----------+-------------------------------------------------------+
2 rows in set (0.01 sec)

Then I ran index -B:

Generating subset http://www.ultraviolet.org/mail-archives/kplug.2001/%
... done (4694 URLs)
Generating subset http://www.ultraviolet.org/mail-archives/pilot.2001/%
... done (4143 URLs)
index process finished.

> After this use "s.cgi" parameter
> "ul=http://www.ultraviolet.org/mail-archives/kplug.2001/%";. "ul" can be used
> many times in one query.

But when I try to search with a query like:

http://ultraviolet.org/cgi-bin/s.cgi?q=Pilot&ul=http://www.ultraviolet.org/mail-archives/kplug.2001/%

which should only return references to the Pilot PDA in the KPLUG mailing
list I get a bunch of messages from the Pilot list also. 

In fact it still works even if I shorten the ul= to:

http://ultraviolet.org/cgi-bin/s.cgi?q=Pilot&ul=http://www.ultraviolet.org/

but if I go any shorter than that it doesn't find anything. It is as if it
is searching on anything under http://www.ultraviolet.org/ instead of the
full url I specified in subsets.mask. 

Feel free to go to my webpage and try these queries yourself.

-- 
Tracy Reed      http://www.ultraviolet.org
"Lift my days, light up my nights"

PGP signature

Reply via email to