Problems with Webinator set logic

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Problems with Webinator set logic

Post by Thunderstone »



I've been trying to write a small help page with a table of
equivalences between simple Boolean expressions and Webinator's
set logic ones. I'm having a problem with the last one:

BOOLEAN WEBINATOR
------- ---------
(a OR b) AND (x OR y) (a,b) (x,y)
(a AND b) OR (x AND y) ????

I thought it might be (a b,x y) but that doesn't seem to work.

Also, @1 searching doesn't appear to work on my index. For example,

Tucson Arizona Greenland @1

ought to return documents but doesn't. Search page is located at:

http://www.radiocarbon.org/cgi-bin/texi ... or/search/

Any help will be appreciated.

--
David Sewell, Managing Editor
RADIOCARBON: An International Journal of Cosmogenic Isotope Research
Department of Geosciences, The University of Arizona
4717 E. Ft. Lowell Rd., Tucson, Arizona 85712 USA
Telephone: +1 520 881 0857 Fax: +1 520 881 0554
Email: David.Sewell@radiocarbon.org = dsew@packrat.aml.arizona.edu
Web site: http://www.radiocarbon.org/


User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

Problems with Webinator set logic

Post by Thunderstone »




That's 2 distinct queries. Perform them separately or perform
the boolean in SQL by modifying the search script.
Title\Meta\Body likep $query1 or Title\Meta\Body likep $query2


Parens indicate a set list.
(a b,x y) is a single set with two terms: "a b" and "x y".


Check the source of the output page for errors. You'll probably see something
along the lines of "intersections not allowed". See the query protection
<apicp> settings at http://www.thunderstone.com/vortexman/node83.html




Post Reply