我正在尝试设计一个GraphQL查询来按标题和内容搜索帖子。但是,看来我的查询只搜索标题。
我正在使用源WordPress Plugin进行以下查询:
query Posts {
allPage: allWordPressPost(regex:".*hello.*") {
edges {
node {
title
path
content
}
}
}
}
有什么想法吗?甚至可以通过Gridsome / source-wordpress(我知道它们还很不成熟)来实现?