Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#3,443 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@sofisl đang làm issue này rồi.

Từ ngày 27/2/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

priority: p2 type: bug

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.

Ngôn ngữ chính
TypeScript
Star
12.3k
Fork
2k
Merge trung bình
1 ngày 19 giờ
Pull request đã merge (30 ngày)
21

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của googleapis/google-api-nodejs-client

Tất cả issue của googleapis/google-api-nodejs-client

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.