The Index Manager allows you to create, edit, and remove search indexes.
To open the Index Manager choose Windows > Search > Index Manager.
Section | 描述 |
---|---|
File Path | The location of the .index file. |
名称 | The name you give to the index. |
Score | The Score is a number that is used with multiple indexes to increase the relevance of one index over another. The lower the number, the more weight is placed on an indexes’ relevance. Unity suggests using the default setting unless you are using advanced indexing scenarios. |
Roots | Choose a folder to index all of its contents. |
包 | Select Packages to index the content of all the packages in the project. |
Includes | File extensions (*.jpg), specific files, or folders to index. This supersedes Excludes. |
Excludes | An extension, folder, or file to ignore. Especially useful for files that are generated by other process, for temp files, or for files from external sources (Asset Store plugins). |
Options |
Disabled: Select to disable an index. Use as a debugging function to stop an index from being queried without deleting it. Types: Indexes the object types information. Properties: Indexes all properties of all objects (only top level objects in a Scene or Prefab). Allows you to use the Property filter to search an index. Sub objects: Indexes all Scene objects for a Unity scene and all subassets for an FBX. Dependencies: Indexes all dependencies of all Assets. Using this setting creates a much larger index. Allows you to use the Dependency filter to search an index. |
Show package indexes | Select to show package indexes (when available) in the Index Manager. |
The following tabs contain information about the index:
You can create Asset, Prefab, and Scene indexes. For more information on index types, see Indexes
Note: If you make changes without saving your index, an asterisk (*) appears next to the window title. If you try to close the window without saving, Unity prompts you to save your index. When you save, Unity rebuilds your index with your changes.