Boolean Searching in WPopac

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:

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

1 Comment(s)

  1. Pingback by /home/n_morin/pro/notes » MySQL Full-text search on April 26, 2006 6:42 am

    [...] Cf MySQL Manual Boolean Full-text search, et maison bisson   [...]

Comments RSS TrackBack Identifier URI

Leave a comment

 

User contributed tags for this post:

girles (367) - Arab Sxs (215) - sxs arab (210) - nude girles (202) - sxs xxl (138) - wwwsxs (119) - xxl sxs (115) - xxlsxs (114) - naked girles (86) - arb sxs (73) - girles com (71) - sxs arabic (69) - animal sxs (65) - arabic sxs (62) - mss (59) - www xxl not (54) - sxs arb (49) - www sxs com (43) - sxs arabe (42) - photo girles (37) - sxs com (34) - naked girles com (33) - animalssxs (33) - wwwsxs com (31) - wpopac (28) - sxsxxl (28) - arab girles (27) - sxs arabi (25) - Picture Girl Sxs (25) - sxs anemal (24) - www.xxl.not (23) - sxs (21) - animel sxs (21) - arab sxs com (20) - anemal sxs (20) - sxs arap (20) - xxxl sxs (20) - sxs arbe (19) - free girles (18) - sxs aneml (18) - wwwsxs.com (17) - ARAP SXS (17) - www sxs arab com (17) - Photossxs (15) - www xxl sxs com (15) - sxs xxxl (15) - sxs arabik (15) - free sxs (15) - nude movies com (14) - www.xxlsxs.com (14) - www.arab sxs.com (13) - animals sxs (13) - all (13) - girles picture (13) - www xxl sxs (13) - aneml sxs (13) - man naked com (12) - sxs xxx (12) - arabik sxs (12) - sxs arbec (12) - www.sxs.com (11) - picture girles (11) - sxs arbic (11) - man XXX com (11) - sxs xxl pictures (11) - http://www google com/ (11) - pictur girl (11) - www.xxl.sxs.com (11) - maison bisson (10) - Sxs GIRL (10) - sxs arbik (10) - naked world com (10) - arabi sxs (10) - nude video com (10) - video sxs (10) - sxs arab video (10) - XXL SXS COM (10) - girles pictures (10) - arabsxs (10) - sxs girls (9) - girles photo (9) - arabic girles (9) - arabe sxs (9) - www XXLsxs com (9) - www sxs (9) - WWWSXS 89 (9) - www.sxs arab.com (9) - arab pic (8) - anemal (8) - WWW XXL COM (8) - nude photo com (8) - naked man (8) - sxs girles (8) - Girl pictur (8) - www sxs sxs com (8) - www sxs arab (8) - operator (7) - must video com (7) - nude girles com (7) - world arab sxs (7) - picture sxs (7) - arap.sxs (7) - arab.sxs (7) - girles naked (6) -