[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[[["\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."]]