Python 2.7은 지원이 종료되었으며 2026년 1월 31일에
지원 중단됩니다. 지원 중단 후에는 조직에서 이전에 조직 정책을 사용하여 레거시 런타임의 배포를 다시 사용 설정한 경우에도 Python 2.7 애플리케이션을 배포할 수 없습니다. 기존 Python 2.7 애플리케이션은
지원 중단 날짜 이후에도 계속 실행되고 트래픽을 수신합니다.
지원되는 최신 Python 버전으로 마이그레이션하는 것이 좋습니다.
Python 2 개발 서버 사용
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
Python 2 개발 서버는 로컬 머신에서 실행되며 대부분의 Search API 기능을 에뮬레이션합니다.
일부 기능은 서버에서 사용할 수 없습니다. 개발 서버에서 실행할 때 다음 기능을 사용하려고 하면 안 됩니다.
표현식의 함수
사용할 수 없는 함수는 다음과 같습니다.
어간 추출
필드 값의 어간 추출(예: '~cat')이 구현되지 않습니다. 어간 추출 연산자가 무시되고 값은 일반적인 완전 일치로 취급됩니다.
토큰화
개발 서버에서는 아시아 언어의 문자열 필드가 토큰화되지 않습니다.
스니펫() 표현식
개발 서버는 스니펫을 지원하지만 스니펫 선택 및 형식 지정 알고리즘은 배포된 앱에서 사용되는 것과 다릅니다. 두 환경의 스니펫 결과는 정확히 일치하지 않습니다.
점수
일치 점수 메커니즘이 구현되지 않습니다.
발음 구분 기호
atom, 텍스트, HTML 필드에서 발음 구분 기호(악센트 기호 등)를 사용할 수 없습니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 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 supported for first-generation runtimes and can be used when upgrading to corresponding second-generation runtimes, with a migration guide available for those moving to the App Engine Python 3 runtime.\u003c/p\u003e\n"],["\u003cp\u003eThe Python 2 development server emulates most of the Search API's capabilities on your local machine.\u003c/p\u003e\n"],["\u003cp\u003eSeveral features are unavailable on the development server, including \u003ccode\u003epow()\u003c/code\u003e, stemming, tokenization of Asian languages, scoring, and the use of diacritical marks.\u003c/p\u003e\n"],["\u003cp\u003eSnippet functionality is supported on the development server, but its algorithms differ from those used in a deployed app, resulting in potentially different snippet outputs.\u003c/p\u003e\n"]]],[],null,["# Using the Python 2 Development Server\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 Python 2 development server runs on your local machine and emulates\nmost of the Search API's capabilities.\n\nA few features are not available on the server. You should not attempt to\nuse the following features when you run on the development server:\n\n### Functions in expressions\n\nThese functions are not available:\n\n- `pow()`\n\n### Stemming\n\nStemming of field values (for example \"\\~cat\") is not implemented. The\nstem operator will be ignored and the value will be treated as an ordinary\nexact match.\n\n### Tokenization\n\nString fields in Asian languages are not tokenized on the development server.\n\n### Snippet() Expressions\n\nThe development server supports snippets, but the snippet selection and\nformatting algorithms are not the same as those used in a deployed app.\nSnippet results will not be exactly the same in the two environments.\n\n### Scoring\n\nThe match scoring mechanism is not implemented.\n\n### Diacriticals\n\nDiacritical marks (such as accent marks) cannot be used in atom, text, and HTML fields."]]