home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
General Forums
Newcomers Forum
My Own Frequently Asked Questions (FAQ)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="rekenaar" data-source="post: 661517" data-attributes="member: 27829"><p><strong>What is the syntax for advanced forum searches?</strong></p><p></p><p>thanks <span style="color: Cyan">high </span>for this:</p><p></p><p>This should help for advanced searches:</p><p></p><ul> <li data-xf-list-type="ul"><strong>+</strong> A leading plus sign indicates that this word must be present in each row that is returned.</li> <li data-xf-list-type="ul"><strong>-</strong> A leading minus sign indicates that this word must not be present in any of the rows that are returned.<br /> </li> <li data-xf-list-type="ul"><strong>(no wild card)</strong> 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.</li> <li data-xf-list-type="ul"><strong>> <</strong> 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.<br /> </li> <li data-xf-list-type="ul"><strong>( )</strong> Parentheses are used to group words into subexpressions. Parenthesized groups can be nested.</li> <li data-xf-list-type="ul"><strong>~</strong> A leading tilde acts as a negation operator, causing the word's contribution to the row'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.<br /> </li> <li data-xf-list-type="ul"><strong>*</strong> The asterisk serves as the truncation operator. Unlike the other operators, it should be appended to the word to be affected.</li> <li data-xf-list-type="ul"><strong>"</strong> 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. 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. For example, "test phrase" does not match "test, phrase".<br /> </li> <li data-xf-list-type="ul">If the phrase contains no words that are in the index, the result is empty. For example, if all words are either stopwords or shorter than the minimum length of indexed words, the result is empty.<br /> </li> <li data-xf-list-type="ul"><strong>'apple banana'</strong> Find rows that contain at least one of the two words.</li> <li data-xf-list-type="ul"><strong>'+apple +juice'</strong> Find rows that contain both words.<br /> </li> <li data-xf-list-type="ul"><strong>'+apple macintosh'</strong> Find rows that contain the word “apple”, but rank rows higher if they also contain “macintosh”.</li> <li data-xf-list-type="ul"><strong>'+apple -macintosh'</strong> Find rows that contain the word “apple” but not “macintosh”.<br /> </li> <li data-xf-list-type="ul"><strong>'+apple +(>turnover</strong> Find rows that contain the words “apple” and “turnover”, or “apple” and “strudel” (in any order), but rank “apple turnover” higher than “apple strudel”.<br /> </li> <li data-xf-list-type="ul"><strong>'apple*'</strong> Find rows that contain words such as “apple”, “apples”, “applesauce”, or “applet”.</li> <li data-xf-list-type="ul"><strong>'"some words"'</strong> 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.</li> </ul></blockquote><p></p>
[QUOTE="rekenaar, post: 661517, member: 27829"] [b]What is the syntax for advanced forum searches?[/b] thanks [COLOR="Cyan"]high [/COLOR]for this: This should help for advanced searches: [LIST] [*][B]+[/B] A leading plus sign indicates that this word must be present in each row that is returned. [*][B]-[/B] A leading minus sign indicates that this word must not be present in any of the rows that are returned. [*][B](no wild card)[/B] 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. [*][B]> <[/B] 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. [*][B]( )[/B] Parentheses are used to group words into subexpressions. Parenthesized groups can be nested. [*][B]~[/B] A leading tilde acts as a negation operator, causing the word's contribution to the row'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. [*][B]*[/B] The asterisk serves as the truncation operator. Unlike the other operators, it should be appended to the word to be affected. [*][B]"[/B] 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. 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. For example, "test phrase" does not match "test, phrase". [*]If the phrase contains no words that are in the index, the result is empty. For example, if all words are either stopwords or shorter than the minimum length of indexed words, the result is empty. [*][B]'apple banana'[/B] Find rows that contain at least one of the two words. [*][B]'+apple +juice'[/B] Find rows that contain both words. [*][B]'+apple macintosh'[/B] Find rows that contain the word “apple”, but rank rows higher if they also contain “macintosh”. [*][B]'+apple -macintosh'[/B] Find rows that contain the word “apple” but not “macintosh”. [*][B]'+apple +(>turnover[/B] Find rows that contain the words “apple” and “turnover”, or “apple” and “strudel” (in any order), but rank “apple turnover” higher than “apple strudel”. [*][B]'apple*'[/B] Find rows that contain words such as “apple”, “apples”, “applesauce”, or “applet”. [*][B]'"some words"'[/B] 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. [/LIST] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
General Forums
Newcomers Forum
My Own Frequently Asked Questions (FAQ)
Contact us
RSS
Top
Bottom