Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove use_field_mapping from integration test #3885

Merged
merged 2 commits into from
Jun 27, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions src/Tests/Tests/Search/Search/SearchApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -277,11 +277,7 @@ public SearchApiDocValueFieldsTests(ReadOnlyCluster cluster, EndpointUsage usage
},
docvalue_fields = new object[]
{
new
{
field = "name",
format = "use_field_mapping"
},
"name",
new
{
field = "lastActivity",
Expand All @@ -305,7 +301,7 @@ public SearchApiDocValueFieldsTests(ReadOnlyCluster cluster, EndpointUsage usage
.Term(p => p.State, StateOfBeing.Stable)
)
.DocValueFields(fs => fs
.Field(p => p.Name, format: "use_field_mapping")
.Field(p => p.Name)
.Field(p => p.LastActivity, format: "weekyear")
);

Expand All @@ -323,7 +319,7 @@ public SearchApiDocValueFieldsTests(ReadOnlyCluster cluster, EndpointUsage usage
Field = "state",
Value = "Stable"
}),
DocValueFields = Infer.Field<Project>(p => p.Name, format: "use_field_mapping")
DocValueFields = Infer.Field<Project>(p => p.Name)
.And<Project>(p => p.LastActivity, format: "weekyear")
};

Expand Down