# SearchDocumentFlags

> Search document flags are used by the indexing system to provide additional information of an indexed document, like its source.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor.Search](/engine/6000.5/script-reference/unityeditor/search.md)
* **Assembly:** UnityEditor

```csharp
[Flags]
public enum SearchDocumentFlags
```

## Fields

| Value                                                                                            | Description                                                                                |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| [Asset](/engine/6000.5/script-reference/unityeditor/search/searchdocumentflags/asset.md)         | Indicates that the indexed document is an asset. So it should have a valid asset path.     |
| [Grouped](/engine/6000.5/script-reference/unityeditor/search/searchdocumentflags/grouped.md)     | Indicates that the indexed document was grouped in another asset provider.                 |
| [Nested](/engine/6000.5/script-reference/unityeditor/search/searchdocumentflags/nested.md)       | Indicates that the search document is an nested object.                                    |
| [None](/engine/6000.5/script-reference/unityeditor/search/searchdocumentflags/none.md)           | Indicates no particular flags.                                                             |
| [Object](/engine/6000.5/script-reference/unityeditor/search/searchdocumentflags/object.md)       | Indicates that the search document was indexed from an object such as a prefab or a scene. |
| [Resources](/engine/6000.5/script-reference/unityeditor/search/searchdocumentflags/resources.md) | Indicates that the document was indexed from a resource bundle.                            |
