Skip to content

Commit

Permalink
fix: or-2334 remove chaining MustNot for beheer zoeken
Browse files Browse the repository at this point in the history
  • Loading branch information
emalfroy committed Dec 12, 2024
1 parent 6c036ad commit f1b6998
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ await _client
IsNietDubbel
)
.MustNot(BeVerwijderd)
.MustNot(BeDubbel)
.Filter(MatchOpPostcodeOfGemeente(gemeentes, postcodes)
)
)
Expand Down Expand Up @@ -84,15 +83,6 @@ private static QueryContainer BeVerwijderd(QueryContainerDescriptor<DuplicateDet
.Value(true));
}

private static QueryContainer BeDubbel(QueryContainerDescriptor<DuplicateDetectionDocument> shouldDescriptor)
{
return shouldDescriptor
.Term(termDescriptor
=> termDescriptor
.Field(document => document.IsDubbel)
.Value(true));
}

private static Func<QueryContainerDescriptor<DuplicateDetectionDocument>, QueryContainer> MatchOpPostcode(string[] postcodes)
{
return postalCodesQuery => postalCodesQuery
Expand Down

0 comments on commit f1b6998

Please sign in to comment.