[[["容易理解","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-05 (世界標準時間)。"],[],[],null,["# Search versus secondary indexes\n\n| **Note:** This feature is available with the Spanner Enterprise edition and Enterprise Plus edition. For more information, see the [Spanner editions overview](/spanner/docs/editions-overview).\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nThis page describes the features for search and secondary indexes.\n\nWhen deciding between search indexes and secondary indexes, keep in mind that\nsearch indexes should be the default choice for full-text use cases and\nsecondary indexes should be the default option for everything else. The\nfollowing table describes when to use each type of index.\n\nBesides semantics, the syntax of the DDL statement to create a search index is\ndifferent from the DDL syntax to create a secondary index:\n\n- Indexed columns are defined separately from the sort order in the search index.\n- The order of `TOKENLIST` columns in the `ON` clause of the `CREATE\n SEARCH INDEX` statement is immaterial.\n\nWhat's next\n-----------\n\n- Learn about [search indexes](/spanner/docs/full-text-search/search-indexes).\n- Learn about [secondary indexes](/spanner/docs/secondary-indexes)."]]