Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions tests/Tests/Mapping/Types/Core/Date/DateAttributeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ public class DateTest
{
[Date(
DocValues = true,
Similarity = "classic",
Store = true,
Index = false,
Boost = 1.2,
Expand All @@ -37,7 +36,6 @@ public class DateAttributeTests : AttributeTestsBase<DateTest>
{
type = "date",
doc_values = true,
similarity = "classic",
store = true,
index = false,
boost = 1.2,
Expand Down
5 changes: 1 addition & 4 deletions tests/Tests/Mapping/Types/Core/Date/DatePropertyTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

using System;
using System;
using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Domain;
Expand All @@ -22,7 +22,6 @@ public DatePropertyTests(WritableCluster cluster, EndpointUsage usage) : base(cl
{
type = "date",
doc_values = false,
similarity = "BM25",
store = true,
index = false,
boost = 1.2,
Expand All @@ -37,7 +36,6 @@ public DatePropertyTests(WritableCluster cluster, EndpointUsage usage) : base(cl
.Date(b => b
.Name(p => p.LastActivity)
.DocValues(false)
.Similarity("BM25")
.Store()
.Index(false)
.Boost(1.2)
Expand All @@ -52,7 +50,6 @@ public DatePropertyTests(WritableCluster cluster, EndpointUsage usage) : base(cl
"lastActivity", new DateProperty
{
DocValues = false,
Similarity = "BM25",
Store = true,
Index = false,
Boost = 1.2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ public class DateNanosTest
{
[DateNanos(
DocValues = true,
Similarity = "classic",
Store = true,
Index = false,
Boost = 1.2,
Expand All @@ -33,7 +32,6 @@ public class DateNanosAttributeTests : AttributeTestsBase<DateNanosTest>
{
type = "date_nanos",
doc_values = true,
similarity = "classic",
store = true,
index = false,
boost = 1.2,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information

using System;
using System;
using Nest;
using Tests.Core.ManagedElasticsearch.Clusters;
using Tests.Domain;
Expand All @@ -22,7 +22,6 @@ public DateNanosPropertyTests(WritableCluster cluster, EndpointUsage usage) : ba
{
type = "date_nanos",
doc_values = false,
similarity = "BM25",
store = true,
index = false,
boost = 1.2,
Expand All @@ -37,7 +36,6 @@ public DateNanosPropertyTests(WritableCluster cluster, EndpointUsage usage) : ba
.DateNanos(b => b
.Name(p => p.LastActivity)
.DocValues(false)
.Similarity("BM25")
.Store()
.Index(false)
.Boost(1.2)
Expand All @@ -52,7 +50,6 @@ public DateNanosPropertyTests(WritableCluster cluster, EndpointUsage usage) : ba
"lastActivity", new DateNanosProperty
{
DocValues = false,
Similarity = "BM25",
Store = true,
Index = false,
Boost = 1.2,
Expand Down