DATAES-211 - index analyzer is removed. use analyzer for search and index analyzer or use search analyzer.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user