I'd like to use SQL Server full-text search to find inflectional forms of words that occur in a specific order. So the words method
and apparatus
would match These are the methods I'm using with the apparatuses
but not This apparatus is used with these methods
.
Is there a way to do this? It seems pretty simple, but I've found nothing.
I've tried CONTAINS
with:
'NEAR((method,apparatus), MAX, TRUE) AND FORMSOF(INFLECTIONAL,method) AND FORMSOF(INFLECTIONAL,apparatus)'
'FORMSOF(INFLECTIONAL,NEAR((method,apparatus), MAX, TRUE))'
'NEAR((FORMSOF(INFLECTIONAL,method),FORMSOF(INFLECTIONAL,apparatus)), MAX, TRUE)'