Java 8 はサポートが終了しており、2026 年 1 月 31 日に
非推奨になります。非推奨になると、過去に組織のポリシーを使用して以前のランタイムのデプロイを再度有効にしていた場合でも、Java 8 アプリケーションをデプロイできなくなります。既存の Java 8 アプリケーションは、
非推奨になる日付以降も引き続き実行され、トラフィックを受信します。
サポートされている最新バージョンの Java に移行することをおすすめします。
Java 8 開発用サーバーの使用
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Java 8 開発用サーバーはローカルマシンで実行され、Search API のほとんどの機能をエミュレートします。
いくつかの機能はこのサーバーでは利用できません。開発用サーバーで実行する際には以下の機能を使用しないでください。
ステミング
フィールド値のステミング("~cat" など)は実装されていません。
トークン化
アジア圏の諸言語の文字列フィールドは、開発サーバーではトークン化されません。
スコア付け
一致スコア付けのメカニズムは実装されていません。
発音区別符号
発音区別符号(アクセント記号など)を atom、text、HTML フィールドに使用することはできません。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は 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 compatible with first-generation runtimes and can be used when upgrading to second-generation runtimes.\u003c/p\u003e\n"],["\u003cp\u003eFor those updating to App Engine Java 11/17, a migration guide provides details on options for legacy bundled services.\u003c/p\u003e\n"],["\u003cp\u003eThe Java 8 development server emulates most Search API functions on your local machine.\u003c/p\u003e\n"],["\u003cp\u003eStemming, Asian language string tokenization, match scoring, and diacritical marks are not supported features when running on the development server.\u003c/p\u003e\n"]]],[],null,["# Using the Java 8 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| java-gen2\n|\n| /services/access). If you are updating to the App Engine Java 11/17 runtime, refer to the [migration guide](/appengine/migration-center/standard/migrate-to-second-gen/java-differences) to learn about your migration options for legacy bundled services.\n\nThe Java 8 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### Stemming\n\nStemming of field values (for example \"\\~cat\") is not implemented.\n\n### Tokenization\n\nString fields in Asian languages are not tokenized on the development server.\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."]]