Skip to content

Commit

Permalink
chore: XML docs to refactored code
Browse files Browse the repository at this point in the history
  • Loading branch information
nikcio committed Dec 15, 2022
1 parent a260da6 commit 22222ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Examine.Lucene/Search/LuceneBooleanOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,16 @@ public LuceneBooleanOperation(LuceneSearchQuery search)
/// <inheritdoc/>
public override string ToString() => _search.ToString();

/// <inheritdoc/>
public override IFacetQueryField WithFacet(string field) => _search.FacetInternal(field, Array.Empty<string>());

/// <inheritdoc/>
public override IFacetQueryField WithFacet(string field, params string[] values) => _search.FacetInternal(field, values);

/// <inheritdoc/>
public override IFacetDoubleRangeQueryField WithFacet(string field, params DoubleRange[] doubleRanges) => _search.FacetInternal(field, doubleRanges);

/// <inheritdoc/>
public override IFacetLongRangeQueryField WithFacet(string field, params Int64Range[] longRanges) => _search.FacetInternal(field, longRanges);
}
}
4 changes: 4 additions & 0 deletions src/Examine.Lucene/Search/LuceneBooleanOperationBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,12 +136,16 @@ protected internal LuceneBooleanOperationBase Op(
/// <inheritdoc/>
public abstract IOrdering SelectAllFields();

/// <inheritdoc/>
public abstract IFacetQueryField WithFacet(string field);

/// <inheritdoc/>
public abstract IFacetQueryField WithFacet(string field, params string[] values);

/// <inheritdoc/>
public abstract IFacetDoubleRangeQueryField WithFacet(string field, params DoubleRange[] doubleRanges);

/// <inheritdoc/>
public abstract IFacetLongRangeQueryField WithFacet(string field, params Int64Range[] longRanges);
}
}

0 comments on commit 22222ab

Please sign in to comment.