@@ -553,7 +553,6 @@ public void testPercolatorFieldMapper() throws Exception {
553
553
.parse (
554
554
new SourceToParse (
555
555
"test" ,
556
- MapperService .SINGLE_MAPPING_NAME ,
557
556
"1" ,
558
557
BytesReference .bytes (XContentFactory .jsonBuilder ().startObject ().field (fieldName , queryBuilder ).endObject ()),
559
558
XContentType .JSON
@@ -574,7 +573,6 @@ public void testPercolatorFieldMapper() throws Exception {
574
573
.parse (
575
574
new SourceToParse (
576
575
"test" ,
577
- MapperService .SINGLE_MAPPING_NAME ,
578
576
"1" ,
579
577
BytesReference .bytes (XContentFactory .jsonBuilder ().startObject ().field (fieldName , queryBuilder ).endObject ()),
580
578
XContentType .JSON
@@ -592,7 +590,6 @@ public void testPercolatorFieldMapper() throws Exception {
592
590
.parse (
593
591
new SourceToParse (
594
592
"test" ,
595
- MapperService .SINGLE_MAPPING_NAME ,
596
593
"1" ,
597
594
BytesReference .bytes (XContentFactory .jsonBuilder ().startObject ().field (fieldName , queryBuilder ).endObject ()),
598
595
XContentType .JSON
@@ -621,7 +618,6 @@ public void testStoringQueries() throws Exception {
621
618
.parse (
622
619
new SourceToParse (
623
620
"test" ,
624
- MapperService .SINGLE_MAPPING_NAME ,
625
621
"1" ,
626
622
BytesReference .bytes (XContentFactory .jsonBuilder ().startObject ().field (fieldName , query ).endObject ()),
627
623
XContentType .JSON
@@ -640,7 +636,6 @@ public void testQueryWithRewrite() throws Exception {
640
636
.parse (
641
637
new SourceToParse (
642
638
"test" ,
643
- MapperService .SINGLE_MAPPING_NAME ,
644
639
"1" ,
645
640
BytesReference .bytes (XContentFactory .jsonBuilder ().startObject ().field (fieldName , queryBuilder ).endObject ()),
646
641
XContentType .JSON
@@ -665,7 +660,6 @@ public void testPercolatorFieldMapperUnMappedField() throws Exception {
665
660
.parse (
666
661
new SourceToParse (
667
662
"test" ,
668
- MapperService .SINGLE_MAPPING_NAME ,
669
663
"1" ,
670
664
BytesReference .bytes (
671
665
XContentFactory .jsonBuilder ().startObject ().field (fieldName , termQuery ("unmapped_field" , "value" )).endObject ()
@@ -684,7 +678,6 @@ public void testPercolatorFieldMapper_noQuery() throws Exception {
684
678
.parse (
685
679
new SourceToParse (
686
680
"test" ,
687
- MapperService .SINGLE_MAPPING_NAME ,
688
681
"1" ,
689
682
BytesReference .bytes (XContentFactory .jsonBuilder ().startObject ().endObject ()),
690
683
XContentType .JSON
@@ -697,7 +690,6 @@ public void testPercolatorFieldMapper_noQuery() throws Exception {
697
690
.parse (
698
691
new SourceToParse (
699
692
"test" ,
700
- MapperService .SINGLE_MAPPING_NAME ,
701
693
"1" ,
702
694
BytesReference .bytes (XContentFactory .jsonBuilder ().startObject ().nullField (fieldName ).endObject ()),
703
695
XContentType .JSON
@@ -760,7 +752,6 @@ public void testMultiplePercolatorFields() throws Exception {
760
752
.parse (
761
753
new SourceToParse (
762
754
"test" ,
763
- typeName ,
764
755
"1" ,
765
756
BytesReference .bytes (
766
757
jsonBuilder ().startObject ().field ("query_field1" , queryBuilder ).field ("query_field2" , queryBuilder ).endObject ()
@@ -803,7 +794,6 @@ public void testNestedPercolatorField() throws Exception {
803
794
.parse (
804
795
new SourceToParse (
805
796
"test" ,
806
- typeName ,
807
797
"1" ,
808
798
BytesReference .bytes (
809
799
jsonBuilder ().startObject ().startObject ("object_field" ).field ("query_field" , queryBuilder ).endObject ().endObject ()
@@ -823,7 +813,6 @@ public void testNestedPercolatorField() throws Exception {
823
813
.parse (
824
814
new SourceToParse (
825
815
"test" ,
826
- typeName ,
827
816
"1" ,
828
817
BytesReference .bytes (
829
818
jsonBuilder ().startObject ()
@@ -846,7 +835,6 @@ public void testNestedPercolatorField() throws Exception {
846
835
.parse (
847
836
new SourceToParse (
848
837
"test" ,
849
- typeName ,
850
838
"1" ,
851
839
BytesReference .bytes (
852
840
jsonBuilder ().startObject ()
@@ -954,7 +942,6 @@ public void testImplicitlySetDefaultScriptLang() throws Exception {
954
942
.parse (
955
943
new SourceToParse (
956
944
"test" ,
957
- MapperService .SINGLE_MAPPING_NAME ,
958
945
"1" ,
959
946
BytesReference .bytes (
960
947
XContentFactory .jsonBuilder ()
@@ -1002,7 +989,6 @@ public void testImplicitlySetDefaultScriptLang() throws Exception {
1002
989
.parse (
1003
990
new SourceToParse (
1004
991
"test" ,
1005
- MapperService .SINGLE_MAPPING_NAME ,
1006
992
"1" ,
1007
993
BytesReference .bytes (
1008
994
XContentFactory .jsonBuilder ()
@@ -1097,7 +1083,6 @@ public void testDuplicatedClauses() throws Exception {
1097
1083
.parse (
1098
1084
new SourceToParse (
1099
1085
"test" ,
1100
- MapperService .SINGLE_MAPPING_NAME ,
1101
1086
"1" ,
1102
1087
BytesReference .bytes (XContentFactory .jsonBuilder ().startObject ().field (fieldName , qb ).endObject ()),
1103
1088
XContentType .JSON
@@ -1123,7 +1108,6 @@ public void testDuplicatedClauses() throws Exception {
1123
1108
.parse (
1124
1109
new SourceToParse (
1125
1110
"test" ,
1126
- MapperService .SINGLE_MAPPING_NAME ,
1127
1111
"1" ,
1128
1112
BytesReference .bytes (XContentFactory .jsonBuilder ().startObject ().field (fieldName , qb ).endObject ()),
1129
1113
XContentType .JSON
@@ -1152,7 +1136,6 @@ public void testDuplicatedClauses() throws Exception {
1152
1136
.parse (
1153
1137
new SourceToParse (
1154
1138
"test" ,
1155
- MapperService .SINGLE_MAPPING_NAME ,
1156
1139
"1" ,
1157
1140
BytesReference .bytes (XContentFactory .jsonBuilder ().startObject ().field (fieldName , qb ).endObject ()),
1158
1141
XContentType .JSON
0 commit comments