Skip to content

Document the query_scope search index option - #1998

Open
joshdaugherty wants to merge 1 commit into
statamic:6.xfrom
joshdaugherty:docs/search-index-query-scope
Open

joshdaugherty wants to merge 1 commit into
statamic:6.xfrom
joshdaugherty:docs/search-index-query-scope

Conversation

@joshdaugherty

Copy link
Copy Markdown

Closes #1997.

Adds a "Query scopes" section to the Search page, after "Filtering searchables", documenting the query_scope index option from statamic/cms#13126.

It covers what was checked against Statamic\Search\Searchables\Provider and the built-in searchables on 6.x:

  • the value is a scope handle, and the scope is applied to the query before items are loaded;
  • unlike filter, it doesn't override the native filters, so drafts stay out of the index;
  • entries, terms and users apply it, and assets don't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document the query_scope search index option

1 participant