DATAES-211 - index analyzer is removed. use analyzer for search and index analyzer or use search analyzer.

This commit is contained in:
Mohsin Husen
2016-02-11 16:42:42 +00:00
parent 61880671a4
commit a05a597123
5 changed files with 9 additions and 9 deletions

View File

@@ -32,7 +32,7 @@ public class SampleMappingEntity {
@Id
private String id;
@Field(type = String, index = not_analyzed, store = true, searchAnalyzer = "standard", indexAnalyzer = "standard")
@Field(type = String, index = not_analyzed, store = true, analyzer = "standard")
private String message;
private NestedEntity nested;

View File

@@ -32,7 +32,7 @@ public class SampleTransientEntity {
@Id
private String id;
@Field(type = String, index = not_analyzed, store = true, searchAnalyzer = "standard", indexAnalyzer = "standard")
@Field(type = String, index = not_analyzed, store = true, analyzer = "standard")
private String message;
@Transient