Using the Python 2 Development Server
Stay organized with collections
Save and categorize content based on your preferences.
The Python 2 development server runs on your local machine and emulates
most of the Search API's capabilities.
A few features are not available on the server. You should not attempt to
use the following features when you run on the development server:
Functions in expressions
These functions are not available:
Stemming
Stemming of field values (for example "~cat") is not implemented. The
stem operator will be ignored and the value will be treated as an ordinary
exact match.
Tokenization
String fields in Asian languages are not tokenized on the development server.
Snippet() Expressions
The development server supports snippets, but the snippet selection and
formatting algorithms are not the same as those used in a deployed app.
Snippet results will not be exactly the same in the two environments.
Scoring
The match scoring mechanism is not implemented.
Diacriticals
Diacritical marks (such as accent marks) cannot be used in atom, text, and HTML fields.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-05 UTC."],[[["This 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."],["The Python 2 development server emulates most of the Search API's capabilities on your local machine."],["Several features are unavailable on the development server, including `pow()`, stemming, tokenization of Asian languages, scoring, and the use of diacritical marks."],["Snippet functionality is supported on the development server, but its algorithms differ from those used in a deployed app, resulting in potentially different snippet outputs."]]],[]]