[[["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-06-16 UTC."],[[["\u003cp\u003e\u003ccode\u003eFacetOptions\u003c/code\u003e class provides configurations for processing facet results in a query, including the number of facets and their values to discover.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ediscovery_limit\u003c/code\u003e parameter controls the maximum number of facets to discover, while setting it to \u003ccode\u003eNone\u003c/code\u003e disables facet discovery.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ediscovery_value_limit\u003c/code\u003e defines how many values are to be discovered for each identified facet.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edepth\u003c/code\u003e parameter determines the number of documents from the query results to be analyzed for facet information.\u003c/p\u003e\n"],["\u003cp\u003eUsing \u003ccode\u003eFacetOptions\u003c/code\u003e can result in \u003ccode\u003eTypeError\u003c/code\u003e if unknown attributes are passed, or \u003ccode\u003eValueError\u003c/code\u003e if invalid parameter values are used.\u003c/p\u003e\n"]]],[],null,["# google.appengine.api.search.FacetOptions\n\n\u003cbr /\u003e\n\nOptions for processing facet reults of a query.\n\nInherits From: [`expected_type`](../../../../google/appengine/api/validation/Validator/expected_type)\n\n#### View aliases\n\n\n**Main aliases**\n\n\\`google.appengine.api.search.search.FacetOptions\\`\n\n\u003cbr /\u003e\n\n google.appengine.api.search.FacetOptions(\n discovery_limit=10, discovery_value_limit=None, depth=None\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e"]]