Bug #68720 | Literal phrases cannot be combined with + or - operator | ||
---|---|---|---|
Submitted: | 19 Mar 2013 16:18 | Modified: | 10 Jun 2013 18:05 |
Reporter: | Jan Rusch | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: FULLTEXT search | Severity: | S3 (Non-critical) |
Version: | 5.6.10, 5.6.12, 5.7.2 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | Boolean Full-Text Search, fts, fulltext |
[19 Mar 2013 16:18]
Jan Rusch
[19 Mar 2013 19:06]
Sveta Smirnova
Thank you for the report. Verified as described. MiISAM handles this case correctly. Test case for MTR: --source include/have_innodb.inc create table t1(f1 text, fulltext(f1)) engine=myisam; create table t2(f1 text, fulltext(f1)) engine=innodb; insert into t1 values('some text'); insert into t1 values('other text'); insert into t1 values('some test'); insert into t1 values('other test'); insert into t1 values('foo bar'); insert into t2 select * from t1; select * from t1 where match(f1) against('"some text"+' in boolean mode); select * from t2 where match(f1) against('"some text"+' in boolean mode);
[10 Jun 2013 18:05]
Paul DuBois
Noted in 5.6.13, 5.7.2 changelogs. Full-text search on InnoDB tables failed on searches for literal phrases combined with + or - operators.