Hi,
I have an odd issue, that really needs fixing before tomorrow, and I've tried everything I can think of.
I have a MySQL database on a shared server (so I don't have administrative permissions), that has a table called `CONTENT_Chemicals`. This table currently has 25548 rows. It has 3 indexes (counting the PK), one of which is ChemFullText, a fulltext index of (ChemicalName, CommonName) (in that order). ChemicalName and CommonName are not listed in either of the other two indexes.
This query returns three results:
This query returns no results:
Interestingly, this problem only applies to rows that have been added in the last week. For example, this query returns 34 results, all of which were added on Jan 17:
I've tried deleting the index (using the MySQL Workbench) and rebuilding it, with no luck. Anything else I can try (again, keeping in mind that I don't have administrative permissions to the server)?
Update: I've now tried copying all of the data to a second table, dropping the original table, recreating the original table (with only the PK index), copying the data back, and then recreating the other two indexes (including the Fulltext index). No luck. :-(
Katie
I have an odd issue, that really needs fixing before tomorrow, and I've tried everything I can think of.
I have a MySQL database on a shared server (so I don't have administrative permissions), that has a table called `CONTENT_Chemicals`. This table currently has 25548 rows. It has 3 indexes (counting the PK), one of which is ChemFullText, a fulltext index of (ChemicalName, CommonName) (in that order). ChemicalName and CommonName are not listed in either of the other two indexes.
This query returns three results:
Code:
SELECT * FROM CONTENT_Chemicals WHERE ChemicalName LIKE '%better%';
This query returns no results:
Code:
SELECT * FROM CONTENT_Chemicals WHERE Match(ChemicalName, CommonName) AGAINST ('better');
Interestingly, this problem only applies to rows that have been added in the last week. For example, this query returns 34 results, all of which were added on Jan 17:
Code:
SELECT * FROM CONTENT_Chemicals WHERE Match(ChemicalName, CommonName) AGAINST ('fertilizer');
I've tried deleting the index (using the MySQL Workbench) and rebuilding it, with no luck. Anything else I can try (again, keeping in mind that I don't have administrative permissions to the server)?
Update: I've now tried copying all of the data to a second table, dropping the original table, recreating the original table (with only the PK index), copying the data back, and then recreating the other two indexes (including the Fulltext index). No luck. :-(
Katie