Skip to content

Commit

Permalink
name
Browse files Browse the repository at this point in the history
  • Loading branch information
nzdev committed Dec 5, 2023
1 parent 74df139 commit b9dfe1b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Examine.Test/Examine.Lucene/Search/FluentApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5246,12 +5246,12 @@ public void GivenTaxonomyIndexFacetDrillDownSubquery_Returns_ExpectedTotals_Face
}
}

private static void BasicDrillSidewaysTests(ISearcher taxonomySearcher)
private static void BasicDrillSidewaysTests(ISearcher searcher)
{
// case: drill-down on a single field; in this
// case the drill-sideways + drill-down counts ==
// drill-down of just the query:
var sc = taxonomySearcher.CreateQuery("content")
var sc = searcher.CreateQuery("content")
.DrillDownQuery(
dims =>
{
Expand Down Expand Up @@ -5290,7 +5290,7 @@ private static void BasicDrillSidewaysTests(ISearcher taxonomySearcher)
// case: drill-down on a single field; in this
// case the drill-sideways + drill-down counts ==
// drill-down of just the query:
var sc2 = taxonomySearcher.CreateQuery("content")
var sc2 = searcher.CreateQuery("content")
.DrillDownQuery(
dims =>
{
Expand Down Expand Up @@ -5326,7 +5326,7 @@ private static void BasicDrillSidewaysTests(ISearcher taxonomySearcher)

// Publish Date is only drill-down: Lisa and Bob
// (drill-down) published twice in 2010 and once in 2012:
var sc3 = taxonomySearcher.CreateQuery("content")
var sc3 = searcher.CreateQuery("content")
.DrillDownQuery(
dims =>
{
Expand All @@ -5352,7 +5352,7 @@ private static void BasicDrillSidewaysTests(ISearcher taxonomySearcher)
Assert.AreEqual(3, facetResults3All.Count());

// More interesting case: drill-down on two fields
var sc4 = taxonomySearcher.CreateQuery("content")
var sc4 = searcher.CreateQuery("content")
.DrillDownQuery(
dims =>
{
Expand Down Expand Up @@ -5387,7 +5387,7 @@ private static void BasicDrillSidewaysTests(ISearcher taxonomySearcher)

// Even more interesting case: drill down on two fields,
// but one of them is OR
var sc5 = taxonomySearcher.CreateQuery("content")
var sc5 = searcher.CreateQuery("content")
.DrillDownQuery(
dims =>
{
Expand Down

0 comments on commit b9dfe1b

Please sign in to comment.