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
5296b91e
Commit
5296b91e
authored
Oct 15, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove use of Blob#language in Ruby indexer
parent
dc194da9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
ee/lib/elasticsearch/git/repository.rb
ee/lib/elasticsearch/git/repository.rb
+3
-1
No files found.
ee/lib/elasticsearch/git/repository.rb
View file @
5296b91e
...
...
@@ -151,7 +151,9 @@ module Elasticsearch
# https://github.com/elastic/elasticsearch-mapper-attachments/issues/124
file_name:
blob
.
path
,
language:
blob
.
language
?
blob
.
language
.
name
:
"Text"
# Linguist is not available in the Ruby indexer. The Go indexer can
# fill in the right language.
language:
nil
}
}
}
...
...
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