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
91c57c9f
Commit
91c57c9f
authored
Feb 05, 2016
by
Valery Sizov
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ee into es_repo_indexer_stable
parents
80a3d835
8ee02f5c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
0 deletions
+10
-0
CHANGELOG-EE
CHANGELOG-EE
+1
-0
app/models/personal_snippet.rb
app/models/personal_snippet.rb
+4
-0
app/models/project_snippet.rb
app/models/project_snippet.rb
+5
-0
No files found.
CHANGELOG-EE
View file @
91c57c9f
...
...
@@ -8,6 +8,7 @@ v 8.4.4
- Re-introduce "Send email to users" link in Admin area
- Fix category values for Jenkins and JenkinsDeprecated services
- Make elastic indexer more stable
- Fix Elasticsearch indexing for newly added snippets
v 8.4.3
- Elasticsearch: fix partial blob indexing on push
...
...
app/models/personal_snippet.rb
View file @
91c57c9f
...
...
@@ -16,4 +16,8 @@
#
class
PersonalSnippet
<
Snippet
# Elastic search configuration (it does not support STI)
document_type
'snippet'
index_name
[
Rails
.
application
.
class
.
parent_name
.
downcase
,
'snippet'
,
Rails
.
env
].
join
(
'-'
)
include
Elastic
::
SnippetsSearch
end
app/models/project_snippet.rb
View file @
91c57c9f
...
...
@@ -16,6 +16,11 @@
#
class
ProjectSnippet
<
Snippet
# Elastic search configuration (it does not support STI)
document_type
'snippet'
index_name
[
Rails
.
application
.
class
.
parent_name
.
downcase
,
'snippet'
,
Rails
.
env
].
join
(
'-'
)
include
Elastic
::
SnippetsSearch
belongs_to
:project
belongs_to
:author
,
class_name:
"User"
...
...
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