Python 2.7은 지원이 종료되었으며 2026년 1월 31일에
지원 중단됩니다. 지원 중단 후에는 조직에서 이전에 조직 정책을 사용하여 레거시 런타임의 배포를 다시 사용 설정한 경우에도 Python 2.7 애플리케이션을 배포할 수 없습니다. 기존 Python 2.7 애플리케이션은
지원 중단 날짜 이후에도 계속 실행되고 트래픽을 수신합니다.
지원되는 최신 Python 버전으로 마이그레이션하는 것이 좋습니다.
예외
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Search API는 다음 예외를 발생시킬 수 있습니다.
- 오류
이 모듈에 있는 예외의 기본 클래스입니다.
- PutError
문서에 색인을 생성할 수 없습니다.
- InternalError
내부 백엔드에서 Search API를 호출하지 못했습니다.
- DeleteError
객체를 삭제하지 못했습니다.
- TransientError
Search API를 호출하지 못했지만 다시 시도하면 성공할 수도 있습니다.
- InvalidRequest
클라이언트의 Search API 호출이 잘못되었습니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-09-04(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[[["\u003cp\u003eThis API is designed for first-generation runtimes and is relevant when upgrading to corresponding second-generation runtimes.\u003c/p\u003e\n"],["\u003cp\u003eA migration guide is available for those updating to the App Engine Python 3 runtime, providing migration options for legacy bundled services.\u003c/p\u003e\n"],["\u003cp\u003eThe Search API can raise several exceptions, including \u003ccode\u003eError\u003c/code\u003e, \u003ccode\u003ePutError\u003c/code\u003e, \u003ccode\u003eInternalError\u003c/code\u003e, \u003ccode\u003eDeleteError\u003c/code\u003e, \u003ccode\u003eTransientError\u003c/code\u003e, and \u003ccode\u003eInvalidRequest\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePutError\u003c/code\u003e is triggered if the document cannot be indexed, whereas \u003ccode\u003eDeleteError\u003c/code\u003e is triggered when the object can't be deleted.\u003c/p\u003e\n"]]],[],null,["# Exceptions\n\n| This API is supported for first-generation runtimes and can be used when [upgrading to corresponding second-generation runtimes](/appengine/docs/standard/\n| python3\n|\n| /services/access). If you are updating to the App Engine Python 3 runtime, refer to the [migration guide](/appengine/migration-center/standard/migrate-to-second-gen/python-differences) to learn about your migration options for legacy bundled services.\n\nThe Search API can raise the following exceptions:\n\nError\n\n: Base class for exceptions in this module.\n\nPutError\n\n: The document could not be indexed.\n\nInternalError\n\n: Search API call failed on internal backend.\n\nDeleteError\n\n: The object could not be deleted.\n\nTransientError\n\n: Search API call failed, but retrying may succeed.\n\nInvalidRequest\n\n: Invalid search API call by client."]]