@@ -529,8 +529,8 @@ func TestEnsureInvertedIndex(t *testing.T) {
529
529
Compression : driver .PrimarySortCompressionLz4 ,
530
530
},
531
531
Fields : []driver.InvertedIndexField {
532
- {Name : "field1 " , Features : []driver.ArangoSearchAnalyzerFeature {driver .ArangoSearchAnalyzerFeatureFrequency }, Nested : nil },
533
- {Name : "field2 " , Features : []driver.ArangoSearchAnalyzerFeature {driver .ArangoSearchAnalyzerFeaturePosition }, TrackListPositions : false , Nested : nil },
532
+ {Name : "test1 " , Features : []driver.ArangoSearchAnalyzerFeature {driver .ArangoSearchAnalyzerFeatureFrequency }, Nested : nil },
533
+ {Name : "test2 " , Features : []driver.ArangoSearchAnalyzerFeature {driver . ArangoSearchAnalyzerFeatureFrequency , driver .ArangoSearchAnalyzerFeaturePosition }, TrackListPositions : false , Nested : nil },
534
534
},
535
535
},
536
536
},
@@ -547,7 +547,7 @@ func TestEnsureInvertedIndex(t *testing.T) {
547
547
},
548
548
Fields : []driver.InvertedIndexField {
549
549
{Name : "field1" , Features : []driver.ArangoSearchAnalyzerFeature {driver .ArangoSearchAnalyzerFeatureFrequency }, Nested : nil },
550
- {Name : "field2" , Features : []driver.ArangoSearchAnalyzerFeature {driver .ArangoSearchAnalyzerFeaturePosition }, TrackListPositions : false ,
550
+ {Name : "field2" , Features : []driver.ArangoSearchAnalyzerFeature {driver .ArangoSearchAnalyzerFeatureFrequency , driver . ArangoSearchAnalyzerFeaturePosition }, TrackListPositions : false ,
551
551
Nested : []driver.InvertedIndexField {
552
552
{
553
553
Name : "some-nested-field" ,
0 commit comments