Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3271208
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:42:26+00:00 2026-05-17T18:42:26+00:00

With MySQL Boolean Full-Text Searches… http://dev.mysql.com/doc/refman/5.1/en/fulltext-boolean.html A leading minus sign indicates that this word

  • 0

With MySQL Boolean Full-Text Searches…

http://dev.mysql.com/doc/refman/5.1/en/fulltext-boolean.html

A leading minus sign indicates that
this word must not be present in any
of the rows that are returned.

Note: The – operator acts only to
exclude rows that are otherwise
matched by other search terms. Thus, a
boolean-mode search that contains only
terms preceded by – returns an empty
result. It does not return “all rows
except those containing any of the
excluded terms.”

Is there any way to do a search giving all rows except those that contain any of the excluded terms?

like (+* -blah -blah2)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T18:42:26+00:00Added an answer on May 17, 2026 at 6:42 pm

    No, but it would be equivalent to simply NOT the condition:

    SELECT *
    FROM foo
    WHERE NOT MATCH (bar) AGAINST ('blah blah2')
    

    of course such a query can’t possibly actually use the fulltext index for quick lookup.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a mysql fulltext question. Refrence on: http://dev.mysql.com/doc/refman/5.0/en/fulltext-boolean.html SELECT * FROM table WHERE
I read the official page: http://dev.mysql.com/doc/refman/5.5/en/fulltext-search.html but it's not providing an example I have
I've found boolean mode of MySQL full text search useful, however there are a
I have a simple MySQL table that is setup for full text search. |
I'm having problems with case-sensitivity in MySQL FULLTEXT searches. I've just followed the FULLTEXT
After learning how to do MySQL Full-Text search, the recommended solution for multiple tables
I've read about full-text search functions in mysql. But in these methods you have
I'm using this query to perform a full text search on a MySQL database:
I'm searching a fairly large article database using full text search in mysql and
I have three tables in mysql which have full text search enabled: title (title,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.