Commit 5296b91e authored by Stan Hu's avatar Stan Hu

Remove use of Blob#language in Ruby indexer

parent dc194da9
......@@ -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
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment