-
-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reverts some last minute changes, ensures multiple searches work when…
… not nrt
- Loading branch information
Showing
7 changed files
with
42 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,8 +2,6 @@ | |
using System.Collections; | ||
using System.Collections.Generic; | ||
|
||
#nullable enable | ||
|
||
namespace Examine.Lucene.Search | ||
{ | ||
public class LuceneSearchResults : ILuceneSearchResults | ||
|
@@ -16,7 +14,7 @@ public LuceneSearchResults( | |
IReadOnlyCollection<ISearchResult> results, | ||
int totalItemCount, | ||
float maxScore, | ||
SearchAfterOptions? searchAfterOptions) | ||
SearchAfterOptions searchAfterOptions) | ||
{ | ||
_results = results; | ||
TotalItemCount = totalItemCount; | ||
|
@@ -32,7 +30,7 @@ public LuceneSearchResults( | |
/// </summary> | ||
public float MaxScore { get; } | ||
Check warning on line 31 in src/Examine.Lucene/Search/LuceneSearchResults.cs GitHub Actions / build
|
||
|
||
public SearchAfterOptions? SearchAfter { get; } | ||
public SearchAfterOptions SearchAfter { get; } | ||
Check warning on line 33 in src/Examine.Lucene/Search/LuceneSearchResults.cs GitHub Actions / build
|
||
|
||
public IEnumerator<ISearchResult> GetEnumerator() => _results.GetEnumerator(); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters