WPopac takes advantage of MySQL’s indexing and relevance-ranked searching (go ahead, try it), including boolean searching (on MySQL versions > 4.x). Here are some details and examples taken wholesale from the MySQL manual:
- +
A leading plus sign indicates that this word must be present in each result returned.
- -
A leading minus sign indicates that this word must not be present in any of the resuls that are returned.
- > <
These two operators are used to change a word’s contribution to the relevance value that is assigned to a result. The > operator increases the contribution and the < operator decreases it.
- ( )
Parentheses group words into subexpressions. Parenthesized groups can be nested.
- ~
A leading tilde acts as a negation operator, causing the word’s contribution to the result’s relevance to be negative. This is useful for marking “noise” words. A row containing such a word is rated lower than others, but is not excluded altogether, as it would be with the - operator.
- *
The asterisk serves as the truncation (or wildcard) operator. Unlike the other operators, it should be appended to the word to be affected. Words match if they begin with the word preceding the * operator.
- “
A phrase that is enclosed within double quote (‘”’) characters matches only results that contain the phrase literally, as it was typed.
In short, it supports the quotes and plus/minus operators that people are familiar with in Google and others. The following examples demonstrate some search strings that use boolean operators:
- ‘apple banana‘
Find records that contain at least one of the two words.
- ‘+apple +juice‘
Find records that contain both words.
- ‘+apple macintosh‘
Find records that contain the word “apple”, but rank records higher if they also contain “macintosh”.
- ‘+apple -macintosh‘
Find records that contain the word “apple” but not “macintosh”.
- ‘+apple ~macintosh‘
Find records that contain the word “apple”, but if the row also contains the word “macintosh”, rate it lower than if row does not. This is “softer” than a search for ‘+apple -macintosh’, for which the presence of “macintosh” causes the row not to be returned at all.
- ‘+apple +(>turnover ‘
Find records that contain the words “apple” and “turnover”, or “apple” and “strudel” (in any order), but rank “apple turnover” higher than “apple strudel”.
- ‘apple*‘
Find records that contain words such as “apple”, “apples”, “applesauce”, or “applet”.
- ‘“some words”‘
Find records that contain the exact phrase “some words” (for example, rows that contain “some words of wisdom” but not “some noise words”).
Now I really need to configure my own version of MySQL without the over-reaching stopword list.
libraries, library, library catalog, online catalog, opac, wpopac
Related:
Posted April 25, 2006 by Casey
Categories: Libraries & Networked Information. Tags: libraries, library, library catalog, online catalog, opac, wpopac.
1 Comment(s)
Comments RSS
TrackBack Identifier URI
Leave a comment
User contributed tags for this post:
sex girles (779) - sexy girles (418) - girles (352) - girles sex (311) - sxs arab (202) - nude girles (200) - Arab Sxs (188) - sxs xxl (130) - xxl sxs (111) - sexy arab (87) - naked girles (80) - girles com (71) - xxlsxs (70) - animal sxs (62) - arabic sxs (60) - sex girles com (59) - mss (59) - wwwsxs (55) - www xxl not (54) - www sxs com (43) - sxs arb (42) - girles sexy (41) - sxs arabic (37) - sxs arabe (37) - photo girles (34) - sxs com (34) - naked girles com (33) - wpopac (28) - arb sxs (27) - wwwsxs com (26) - sex com (25) - sxs arabi (24) - sxsxxl (24) - arab girles (23) - WWW photo sex COM (22) - sxs (21) - WWW SEX ANIMAL COM (20) - arab sxs com (20) - sexy arabic (19) - w rd sex (19) - xxxl sxs (19) - animalssxs (19) - sexy girles in world (18) - animel sxs (18) - www sxs arab com (17) - word sex com (16) - word sex (16) - sexy arab girles (16) - ARAP SXS (16) - Photossxs (15) - free girles (15) - sxs anemal (14) - sex aneml (14) - www xxl sxs com (14) - arab sexy (14) - nude movies com (14) - sxs arbe (13) - all (13) - sex in girles (13) - girles picture (13) - anemal sxs (13) - sxs arabik (13) - www xxl sxs (13) - man naked com (12) - sxs arap (12) - sxs xxxl (12) - girles for sex (12) - arabik sxs (12) - arabik sexi girl (12) - arabic sex (11) - sex girles gallery (11) - word sexy com (11) - sex with girles (11) - SEX AND GIRLES (11) - sexy indian girles (11) - man XXX com (11) - sxs xxl pictures (11) - sxs xxx (11) - http://www google com/ (11) - free sxs (11) - pictur girl (11) - maison bisson (10) - animals sxs (10) - sxs arbik (10) - naked world com (10) - arabi sxs (10) - nude video com (10) - video sxs (10) - sxs arab video (10) - Sxs GIRL (9) - aneml sex (9) - sexy words for searching (9) - picture girles (9) - arab sexy girles (9) - sex groups (9) - WWW ANEMAL SEX COM (9) - XXL SXS COM (9) - girles pictures (9) - www XXLsxs com (9) - www sxs (9) - sxs aneml (9) - arab pic (8) - anemal (8) - WWW XXL COM (8) - nude photo com (8) - girles photo (8) - sxs arbic (8) - arabic girles (8) - sex small girles (8) - anemal sexy (8) - naked man (8) - Girl pictur (8) - WWWSXS 89 (8) - www sxs sxs com (8) - www sxs arab (8) - operator (7) - anemal sex (7) - sxs girls (7) - Sexs Arab (7) - girles and sex (7) - word sexy (7) - girles movies sex (7) - must video com (7) - nude girles com (7) - sexy arabic girles (7) - arabe sxs (7) - world arab sxs (7) - picture sxs (7) - www.arab sxs.com (6) - bluetooth sexy (6) - animel sex (6) - photo sex girles (6) - girles naked (6) - sexs girles (6) - sexy girles animals (6) - girles free sex photo com (6) - WWW ANEMAL (6) - 18 sxs (6) - sex xxl sxs (6) - sxs in arabic (6) - arab 6 sxs (6) - xxl vidoe sxs 89 (6) - live sxs com (6) - images sxs (6) - aneml sxs (6) - sxs arbec (6) - sxs sxs (5) - sxs movies (5) - SEX WITH ANEML HOME VIDEO (5) - arbic sxs (5) -
[...] Cf MySQL Manual Boolean Full-text search, et maison bisson [...]