I have a question about TermType in the SearchGrammar sample. If this is the wrong forum for this, please forgive.
It seems to me that TermType will always be Inflectional for AND'ed terms, no matter what TermType you hand ConvertQuery()
Example with FTS TermType=Exact:
AND Query: classical music
Fts: ( FORMSOF (INFLECTIONAL, classical) AND FORMSOF (INFLECTIONAL, music) )
OR Query: classical | music
Fts: (classical OR music)
In line 121 of SearchGrammar.cs, the TermType is set explicitly to Inflectional for AND but not for negation or OR.
case "": case "&": case "and":
sqlOp = " AND ";
type = TermType.Inflectional;
sqlOp = " AND NOT ";
case "|": case "or":
sqlOp = " OR ";
Is there a reason for this, am I missing something?
Really, really nice work, by the way.