I'm not sure why this is happening, and was hoping you might be able to point me in the right direction.
This statement returns a count of 7:
tsql "select count(DOCID) from mytable where AUTHOR like '\"Robert Perry\"'"
This next one returns a count of 1:
tsql "select count(DOCID) from mytable where AUTHOR like '\"Bob Perry\"'"
Here's the kicker-- when you combine them with an OR, you get a count of zero:
tsql "select count(DOCID) from mytable where AUTHOR like '\"Bob Perry\"' OR AUTHOR like '\"Robert Perry\"'"
Did I do something wrong? Something with the double-quotes, perhaps?
The AUTHOR field has an inverted metamorph index on it, the syntax of which is this:
tsql "set addexp='>>\alpha{1,50},=\alpha{1,50}';create metamorph inverted index
idxmmytable_AUTHOR on mytable(AUTHOR);"
We're using the Windows NT version of Texis, version 3.01.992447526. Thanks for the help!
This statement returns a count of 7:
tsql "select count(DOCID) from mytable where AUTHOR like '\"Robert Perry\"'"
This next one returns a count of 1:
tsql "select count(DOCID) from mytable where AUTHOR like '\"Bob Perry\"'"
Here's the kicker-- when you combine them with an OR, you get a count of zero:
tsql "select count(DOCID) from mytable where AUTHOR like '\"Bob Perry\"' OR AUTHOR like '\"Robert Perry\"'"
Did I do something wrong? Something with the double-quotes, perhaps?
The AUTHOR field has an inverted metamorph index on it, the syntax of which is this:
tsql "set addexp='>>\alpha{1,50},=\alpha{1,50}';create metamorph inverted index
idxmmytable_AUTHOR on mytable(AUTHOR);"
We're using the Windows NT version of Texis, version 3.01.992447526. Thanks for the help!