Add notes about using Painless with cross-project search #5608
Open
marciw wants to merge 5 commits intocps-tech-previewfrom
Open
Add notes about using Painless with cross-project search #5608marciw wants to merge 5 commits intocps-tech-previewfrom
marciw wants to merge 5 commits intocps-tech-previewfrom
Conversation
kilfoyle
reviewed
Mar 25, 2026
|
|
||
| - **User permissions:** {{cps-cap}} results are filtered by each user's role assignments across projects. Users with different roles will see different results from the same query. Refer to [Manage user access](/deploy-manage/cross-project-search-config/cps-config-access-and-scope.md#manage-user-access). | ||
|
|
||
| - **{{product.painless}} scripting:** The [{{product.painless}} execute API](/explore-analyze/cross-project-search.md#cps-painless-execute) does not search across linked projects. It resolves index names against the origin project only. You can target a linked project by prefixing the index with the project alias (for example, `projectAlias:myindex`). |
Member
There was a problem hiding this comment.
@marciw Out of curiousity, do happen to know where {{product.painless}} is defined? I know that it works, but I'm surprised not to see it in docs-content/docset.yml.
Collaborator
There was a problem hiding this comment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
see title. Based on a Slack thread and elastic/elasticsearch#138435
See also the corresponding ES reference doc update in elastic/elasticsearch#144895
Screenshots of updated docs
because the docs preview is temporarily unavailable
expand for screenshots:
Details
current page: https://www.elastic.co/docs/explore-analyze/cross-project-search#cps-supported-apis
addition:

current page: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5498/explore-analyze/cross-project-search/cross-project-search-manage-scope#cps-availability
Generative AI disclosure
Tool(s) and model(s) used: claude-4.6-opus-high in cursor; cursor composer-2