Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

mysql fulltext problem


  • Please log in to reply

#1
mikhael

mikhael

    Member

  • Member
  • PipPip
  • 39 posts
I have a small table with a few columns one is named "name" and I want to search through the entire table and grab all the columns that share a name and return all of the subsequent columns in that row.

here is my working sql string:

select * from clients where match (name) against ('$sentname');
where $sentname is the name to be searched for.

This is working at 99% I am only running into a problem when attempting to find "Jimmy Johns"

(the table has business names in it)

ANY other business name (or a portion of said business name) returns the results flawlessly, however searching Jimmy Johns, Jimmy, John, Johns or any other variation gives me NO results.
This is so weird
  • 0

Advertisements


#2
mikhael

mikhael

    Member

  • Topic Starter
  • Member
  • PipPip
  • 39 posts
Just an update.

I discovered that fulltext will not return a result if more than 50% of the rows would be returned.

Solved
  • 0

#3
mikhael

mikhael

    Member

  • Topic Starter
  • Member
  • PipPip
  • 39 posts
Just an update.

I discovered that fulltext will not return a result if more than 50% of the rows would be returned.

Solved
  • 0

#4
mikhael

mikhael

    Member

  • Topic Starter
  • Member
  • PipPip
  • 39 posts
Just an update.

I discovered that fulltext will not return a result if more than 50% of the rows would be returned.

Solved
  • 0

#5
mikhael

mikhael

    Member

  • Topic Starter
  • Member
  • PipPip
  • 39 posts
Just an update.

I discovered that fulltext will not return a result if more than 50% of the rows would be returned.

Solved
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP