Jump to content

[SOLVED] Full Text AND operator pulling up only first variable, is this right?


HowdeeDoodee

Recommended Posts

This select statement pulls records where only "peace", only "war", and both "peace" and "war" appear in the records. Isn't the AND operator supposed to pull only records where only "peace" AND "war" appear in the same record?

 

 

 

SELECT * FROM `View2_CondFT` WHERE MATCH(Topic, Subtopic, Theswords) AGAINST ('peace +war' IN BOOLEAN MODE) ORDER BY `Lnum` ASC

OK, I just ran an OR query and pulled up the same records with the same results. What gives?

 

SELECT * FROM `View2_ConcordFT` WHERE MATCH(Topic, Subtopic, Theswords) AGAINST ('peace war ' IN BOOLEAN MODE) ORDER BY `Lnum` ASC 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.