gitlab-elasticsearch-git 0.0.16 → 0.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG +3 -0
- data/lib/elasticsearch/git/model.rb +6 -0
- data/lib/elasticsearch/git/repository.rb +4 -2
- data/lib/elasticsearch/git/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a29bf85d996a734eafc1d569dc32f20795baedb
|
4
|
+
data.tar.gz: 72bc712f6d6c40fbca6e9ca2619282f49133cb9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6079984bd4f4cd8603b21f878cce916ba97f51186dc6dcef9a58f3a72a8e1c0c03a5a2eb2633d818241303b17c85588c1c48a0e6818fd2e678c92bc4fd42202d
|
7
|
+
data.tar.gz: f4332529cb1985d21e97bca944a31f7e0a3fab69c8d96d8ffb80c9fb6bb0c26393d88bd358655ec8a777b4a870066cc711ec1fb84ec198735060e31eca1aea34
|
data/CHANGELOG
CHANGED
@@ -39,6 +39,12 @@ module Elasticsearch
|
|
39
39
|
tokenizer: 'standard',
|
40
40
|
filter: %w(code lowercase asciifolding),
|
41
41
|
char_filter: ["code_mapping"]
|
42
|
+
},
|
43
|
+
code_search_analyzer: {
|
44
|
+
type: 'custom',
|
45
|
+
tokenizer: 'standard',
|
46
|
+
filter: %w(lowercase asciifolding),
|
47
|
+
char_filter: ["code_mapping"]
|
42
48
|
}
|
43
49
|
},
|
44
50
|
tokenizer: {
|
@@ -37,10 +37,12 @@ module Elasticsearch
|
|
37
37
|
indexes :path, type: :string,
|
38
38
|
analyzer: :path_analyzer
|
39
39
|
indexes :file_name, type: :string,
|
40
|
-
analyzer: :code_analyzer
|
40
|
+
analyzer: :code_analyzer,
|
41
|
+
search_analyzer: :code_search_analyzer
|
41
42
|
indexes :content, type: :string,
|
42
43
|
index_options: 'offsets',
|
43
|
-
analyzer: :code_analyzer
|
44
|
+
analyzer: :code_analyzer,
|
45
|
+
search_analyzer: :code_search_analyzer
|
44
46
|
indexes :language, type: :string,
|
45
47
|
index: :not_analyzed
|
46
48
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-elasticsearch-git
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrey Kumanyaev
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-08-
|
13
|
+
date: 2016-08-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: elasticsearch-model
|