I am comparing behavior of the NpgsqlTypes.NpgsqlTsQuery.Parse(_query); vs just passing in my raw query string using EF.Functions.ToTsQuery(_query).
The short of the problem is that EF.Functions.ToTsQuery(_query) behaves as expected, while NpgsqlTypes.NpgsqlTsQuery.Parse(_query) seems to be stacking terms separated by | operators in a weird way and does not retrieve expected results on the server.
Is the syntax for NpgsqlTypes.NpgsqlTsQuery.Parse(_query) different from EF.Functions.ToTsQuery(_query)?
I am comparing behavior of the
NpgsqlTypes.NpgsqlTsQuery.Parse(_query);vs just passing in my raw query string usingEF.Functions.ToTsQuery(_query).The short of the problem is that
EF.Functions.ToTsQuery(_query)behaves as expected, whileNpgsqlTypes.NpgsqlTsQuery.Parse(_query)seems to be stacking terms separated by|operators in a weird way and does not retrieve expected results on the server.Is the syntax for
NpgsqlTypes.NpgsqlTsQuery.Parse(_query)different fromEF.Functions.ToTsQuery(_query)?