473,394 Members | 1,740 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

How to create full text searchability in PHP webadmin?

I am trying to create a full text search of my database but continue to get an error despite having indexed the TEXT columns (caption and location) under a single index (searches). How do I get the database to use full text searching?

A. I have added a SINGLE full text index on the two columns which are both of the TEXT type.

B. I have created a unique key using an image_id field(NOTE: none of the fields contain images; one contains a link that I will use to grab the image from a secure upload to my server. The reference is not contained in the search)

I type the query below in

Expand|Select|Wrap|Line Numbers
  1. Select * WHERE MATCH (caption) AGAINST ('denver');
  2.  
However, I continue to get.

Expand|Select|Wrap|Line Numbers
  1. Error
  2. SQL query: 
  3.  
  4. SELECT * 
  5. FROM  `pictures` 
  6. WHERE MATCH (
  7.  
  8. caption
  9. )
  10. AGAINST (
  11. 'denver'
  12. )
  13. LIMIT 0 , 30
  14. MySQL said: 
  15.  
  16. #1191 - Can't find FULLTEXT index matching the column list 
  17.  
All help is appreciated. Thanks.
Nov 26 '10 #1
1 1683
JKing
1,206 Expert 1GB
If you have created a single index for caption and location it will only work when you search for both caption and location. In your query you are only searching caption therefore you need to make a separate index for caption.
Nov 26 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Perre Van Wilrijk | last post by:
Hi, I've got a full text index which works fine, SQLSERVER2000/WIN 2000 SERVER. The system requires to update indexes immediately, so I use a timestamp field to enable this. No problems so...
1
by: arikatla | last post by:
We are using SQL Server 2000 database (with sp3) and recently we faced an interesting issue with full text search. According to SQLServer help page "AND | AND NOT | OR Specifies a logical...
0
by: Robert Oschler | last post by:
I have a database table with a field that is indexed as a "full-text" search, since I want the capabiity. However, I also want the ability to quickly retrieve records from that table that are ins...
1
by: JT | last post by:
Hi! Is it possible to create full-text databases in Access? I'd like to store electronic journal articles which I want to search. Jack
1
by: John | last post by:
Hello, We are developing an application against an MS SQL Server 2000 database which requires that we implement full-text searching across columns in multiple tables. The research that we have...
0
by: Raziq Shekha | last post by:
What is the procedure to create a full text index on a view? I created full text indexes on the underlying tables for a view, but when the query is run against the view I am getting the errror...
1
by: jrs_14618 | last post by:
Hello All, This post is essentially a reply a previous post/thread here on this mailing.database.myodbc group titled: MySQL 4.0, FULL-TEXT Indexing and Search Arabic Data, Unicode I was...
5
by: R.A.M. | last post by:
Hello, I am learning SQL Server 2005 Expres Edition. I need to create full text index on Books.Remarks column in my database. I tried: CREATE FULLTEXT CATALOG FTC_Books AS DEFAULT CREATE...
1
by: codferrow | last post by:
Hello, I have a small issue with a web-search engine I'm working on. The main table is constantly growing (1 insert per second, currently 150 000 records) and it has full-text indexes on 2 fields...
8
by: Sham | last post by:
I am trying to perform the following query on a table that has been indexed using Full Text Search. The table contains multiple columns than have been indexed. (Below, all xml columns are...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.