I think I've perhaps found a bug in the GraphQL API.
Full text search on a specific field in GraphQL is returning unexpected results, seemingly where the search term hits for another text field but not the queried field. For example, the following query for "the" in the "title" field will return results where "the" is NOT in the title, but appears in other document fields.
query TextSearchTest {
allBlog_posts(lang: "en-us", where:{title_fulltext:"the"}) {
edges{
node{
title
}
}
}
}
Returns results similar to:
{
"data": {
"allBlog_posts": {
"edges": [
{
"node": {
"title": "This is a bad hit"
}
},
{
"node": {
"title": "And so is this one"
}
},
]
}
}
}
Am I missing something, or is this indeed a bug?