I'm creating FullTextSqlQuery to find some phases in files content.
I have some test files uploaded on one of SPSite with content that match my query conditions. When I search in web browser, I'm getting my test file on result list.
Somehow my FullTextSqlQuery doesn't return those files as a result. There are some results but should be more.
This is my query string:
SELECT Title,Path FROM SCOPE() WHERE "scope" = 'MyScope' AND (
freetext(DefaultProperties,'"tax recovery"')
OR freetext(DefaultProperties,'"service fee"')
OR freetext(DefaultProperties,'"hotel tax"')
OR ( freetext(DefaultProperties,'"hotel"') AND freetext(DefaultProperties,'"sales tax"') )
OR ( freetext(DefaultProperties,'"hotel"') AND freetext(DefaultProperties,'"excise tax"') )
)
What I'm doing wrong? Hot to force SP to find all files that match query conditions?