Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve tooltip for Elasticsearch tag queries #1809

Merged
merged 4 commits into from
Sep 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,17 @@ export class SearchFormImpl extends React.PureComponent {
<li>
Values containing whitespace or equal-sign &apos=&apos should be enclosed in quotes
</li>
<li>
Elasticsearch/OpenSearch storage supports regexp query, therefore{' '}
<a
href="https://lucene.apache.org/core/9_0_0/core/org/apache/lucene/util/automaton/RegExp.html"
rel="noopener noreferrer"
target="_blank"
>
reserved characters
</a>{' '}
need to be escaped for exact match queries.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it include an example?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure how to render the example. There is already one example (not for ES). If ES specific examples are added, we should let users know that they are for ES and I am not sure how to do it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would just go with the current PR.

</li>
</ul>,
]}
content={
Expand Down