Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6980de91
Commit
6980de91
authored
Nov 28, 2017
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Advanced Search Syntax documentation
parent
df940acb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
changelogs/unreleased-ee/4175-fix-elasticsearch-syntax-docs.yml
...logs/unreleased-ee/4175-fix-elasticsearch-syntax-docs.yml
+5
-0
doc/user/search/advanced_search_syntax.md
doc/user/search/advanced_search_syntax.md
+4
-5
No files found.
changelogs/unreleased-ee/4175-fix-elasticsearch-syntax-docs.yml
0 → 100644
View file @
6980de91
---
title
:
Fix Advanced Search Syntax documentation
merge_request
:
3571
author
:
type
:
fixed
doc/user/search/advanced_search_syntax.md
View file @
6980de91
...
@@ -23,13 +23,13 @@ you need the search results to be as efficient as possible. You have a feeling
...
@@ -23,13 +23,13 @@ you need the search results to be as efficient as possible. You have a feeling
of what you want to find (e.g., a function name), but at the same you're also
of what you want to find (e.g., a function name), but at the same you're also
not so sure.
not so sure.
In that case, using the
regular expressions in your query will yield much better
In that case, using the
advanced search syntax in your query will yield much
results.
better
results.
## Using the Advanced Syntax Search
## Using the Advanced Syntax Search
The Advanced Syntax Search supports
queries of ranges, wildcards, regular
The Advanced Syntax Search supports
fuzzy or exact search queries with prefixes,
expressions, fuzziness
and much more.
boolean operators,
and much more.
Full details can be found in the
[
Elasticsearch documentation
][
elastic
]
, but
Full details can be found in the
[
Elasticsearch documentation
][
elastic
]
, but
here's a quick guide:
here's a quick guide:
...
@@ -42,7 +42,6 @@ here's a quick guide:
...
@@ -42,7 +42,6 @@ here's a quick guide:
*
To group terms together, use parentheses:
`bug | (display +sound)`
*
To group terms together, use parentheses:
`bug | (display +sound)`
*
To match a partial word, use
`*`
:
`bug find_by_*`
*
To match a partial word, use
`*`
:
`bug find_by_*`
*
To find a term containing one of these symbols, use
`\`: `
argument
\-
last
`
*
To find a term containing one of these symbols, use
`\`: `
argument
\-
last
`
*
To limit the results based on the time "created_at:[2012-01-01 TO 2012-12-31]" and other sweet stuff
[
ee
]:
https://about.gitlab.com/gitlab-ee/
[
ee
]:
https://about.gitlab.com/gitlab-ee/
[
elastic
]:
https://www.elastic.co/guide/en/elasticsearch/reference/5.3/query-dsl-simple-query-string-query.html#_simple_query_string_syntax
[
elastic
]:
https://www.elastic.co/guide/en/elasticsearch/reference/5.3/query-dsl-simple-query-string-query.html#_simple_query_string_syntax
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment