[[["易于理解","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\u003e\u003ccode\u003eFacetOptions\u003c/code\u003e class is used to configure the processing of facet results from a query.\u003c/p\u003e\n"],["\u003cp\u003eThe class allows you to specify the number of facets, values per facet, and the depth of results to include.\u003c/p\u003e\n"],["\u003cp\u003eThis API is applicable to first-generation runtimes and offers options for upgrading to second-generation runtimes, with a migration guide available for Python 3 runtime.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFacetOptions\u003c/code\u003e is located in the \u003ccode\u003egoogle.appengine.api.search\u003c/code\u003e module.\u003c/p\u003e\n"]]],[],null,["# The FacetOptions Class\n\nClass `FacetOptions` provides options for processing facet results of a query.\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\n`FacetOptions` is defined in the `google.appengine.api.search` module.\n\nIntroduction\n------------\n\nClass `FacetOptions` provides options for processing facet results of a\nquery. Options include number of facets to discover, number of values for each facet and the depth\nof the result to be considered for facet computation.\n\nConstructor\n-----------"]]