Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Gizmo, SteveS), 38 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/07/07
Posts: 4
Top Posters (30 Days)
Ruben 50
DennyP 24
Gizmo 23
Dunny 15
SteveS 13
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
New Reply
Topic Options
#418 - 06/10/06 01:01 AM Advanced Search test ping
Z65Paul Offline
member
Registered: 04/30/06
Posts: 190
Loc: Los Angeles, CA
More Advance Search function test pings.

privatization calendrical publication
_________________________
Stress the system until it breaks. Hey.. it works for Spacecraft.. why not here?

UBB since 1999: MonteCarloSS.com
Top Reply Quote Quick Reply Quick Quote
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#423 - 06/10/06 01:59 AM Re: Advanced Search test ping [Re: ]
Z65Paul Offline
member
Registered: 04/30/06
Posts: 190
Loc: Los Angeles, CA
Under test:

From http://www.phpfreaks.com/tutorials/129/0.php

Booean Full-Text Search Mode Operators

(From the MySQL Manual)

None
By default (when neither + nor - is specified) the word is optional, but the rows that contain it are rated higher. This mimics the behavior of MATCH() ... AGAINST() without the IN BOOLEAN MODE modifier.

+
A leading plus sign indicates that this word must be present in every row returned.

-
A leading minus sign indicates that this word must not be present in any row returned.

> <
These two operators are used to change a word's contribution to the relevance value that is assigned to a row. The > operator increases the contribution and the < operator decreases it. See the example below.

( )
Parentheses are used to group words into subexpressions. Parenthesized groups can be nested.

~
A leading tilde acts as a negation operator, causing the word's contribution to the row relevance to be negative. It's useful for marking noise words. A row that contains such a word is rated lower than others, but is not excluded altogether, as it would be with the - operator.

"
A phrase that is enclosed within double quote ('"') characters matches only rows that contain the phrase literally, as it was typed. The full-text engine splits the phrase into words, performs a search in the FULLTEXT index for the words. Before MySQL 5.0.3, the engine then performs a substring search for the phrase in the records that are found, so the match must include non-word characters in the phrase. As of MySQL 5.0.3, non-word characters need not be matched exactly: Phrase searching requires only that matches contain exactly the same words as the phrase and in the same order. For example, "test phrase" matches "test, phrase" as of MySQL 5.0.3, but not before.



Booelan Full-Text Search Examples

(From the MySQL Manual)

apple banana Find rows that contain at least one of the two words.

+apple +juice Find rows that contain both words.

+apple macintosh Find rows that contain the word ``apple'', but rank rows higher if they also contain ``macintosh''.

+apple -macintosh Find rows that contain the word ``apple'' but not ``macintosh''.

+apple +(>turnover <strudel) Find rows that contain the words ``apple'' and ``turnover'', or ``apple'' and ``strudel'' (in any order), but rank ``apple turnover'' higher than ``apple strudel''.

apple* Find rows that contain words such as ``apple'', ``apples'', ``applesauce'', or ``applet''.

"some words" Find rows that contain the exact phrase ``some words'' (for example, rows that contain ``some words of wisdom'' but not ``some noise words''). Note that the '"' characters that surround the phrase are operator characters that delimit the phrase. They are not the quotes that surround the search string itself.
_________________________
Stress the system until it breaks. Hey.. it works for Spacecraft.. why not here?

UBB since 1999: MonteCarloSS.com
Top Reply Quote Quick Reply Quick Quote


Quick Reply:
HTML is disabled
UBBCode is enabled




Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Forum Stats
10492 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image