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

  • Home
  • SEARCH
  • 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 6052895
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:58:45+00:00 2026-05-23T07:58:45+00:00

When I search for: SELECT * FROM db.test WHERE MATCH(story)AGAINST(‘(+bananas -banana*)’IN BOOLEAN MODE) I

  • 0

When I search for:

SELECT * FROM db.test
WHERE
MATCH(story)AGAINST('(+bananas -banana*)'IN BOOLEAN MODE)

I get rows returned but when I search for

SELECT * FROM db.test
WHERE
MATCH(story)AGAINST('(+bananas -bananas)'IN BOOLEAN MODE)

or

SELECT * FROM db.test
WHERE
MATCH(story)AGAINST('(+bananas -bananas*)'IN BOOLEAN MODE)

I get no result. To me it seems like you can´t use * together with the minus sign.
Does anybody know if thats the case or if its a setting in MySql.

Kind regards
Olle

The table is MYISAM and I have a index on the column story.

  • 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-23T07:58:46+00:00Added an answer on May 23, 2026 at 7:58 am

    The solution is to skip the parentheses. If I search for ‘+bananas -banana*’ instead of ‘(+bananas -banana*)’ it works. It took a while to figure out thou.

    Cheers

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

Sidebar

Related Questions

SELECT * FROM portfolio INNER JOIN translation ON portfolio.description = translation.key WHERE MATCH(it_translation.*) AGAINST('test')
I have used full text search mysql. My code is select * from uh_property
Could someone explain the << in the following code? mysql test<<E0Q Select * from
$objConnect = mysql_connect(localhost,root,) or die(mysql_error()); $objDB = mysql_select_db(Test); $strSQL = SELECT * FROM UserAddedRecord
Using: select name, id from TEST where id :2 AND name :1 order by
Lets assume i have a query like the following $query_search = SELECT * FROM
i created a search function : SELECT tbl_place.id AS id, tbl_place.metalink AS metalink, tbl_place.title
I have this sql query: SELECT S.SEARCH, S.STATUS, C.TITLE AS CategoryName, E.SEARCH_ENGINES AS Engine,
I need to add a new SELECT statement whose search condition include something like
I want to change the advanced search layout to my needs. Instead of select

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.