googleapis / googleapis/google-api-nodejs-client

Full text search doesn't work when using 'in parents' option

オープン
#3,443 コメント 1 件 リアクション 0 件 担当者 1 名 @sofisl が担当を希望しています GitHub で見る
priority: p2 type: bug
主要言語
TypeScript
スター
12.2k
フォーク
2k
平均マージ
1日 9時間
マージ済み PR(30日)
24

説明

Thanks for stopping by to let us know something could be better!

Environment details

Programming language: go
OS: MacOS, Linux
Language runtime version: 1.21.6
Package version: v0.167.0
Steps to reproduce

Make a query with full text search that searches inside Google Docs file and add "in parents" option.
Such as

Query:

`fullText contains 'часом знемагаю' and trashed = false and mimeType = 'application/vnd.google-apps.document' and '1234567' in parents`

Result:

```
{
"files": []
}
```

Result is empty files list. But if remove "in parents" part and make another search I get this file. And that file has an ID in parents field.

Query:

`fullText contains 'часом знемагаю' and trashed = false and mimeType = 'application/vnd.google-apps.document'`

Result:

```
{
"files": [
{
"parents": [
"1234567"
]
}
]
}
```

Interesting part is that it returns file if full text search query contains words from file's name.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。