-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate ILuceneSearchQueryService in OrchardCore.Search.Lucene (#12587
- Loading branch information
Showing
4 changed files
with
14 additions
and
4 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
src/OrchardCore.Modules/OrchardCore.Search.Lucene/Services/ILuceneSearchQueryService.cs
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 |
---|---|---|
@@ -1,11 +1,21 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Threading.Tasks; | ||
using Lucene.Net.Search; | ||
|
||
namespace OrchardCore.Search.Lucene.Services | ||
{ | ||
[Obsolete("This interface has been deprecated and we will be removed in the next major release, please use OrchardCore.Search.Lucene.Abstractions instead.", false)] | ||
public interface ILuceneSearchQueryService | ||
{ | ||
/// <summary> | ||
/// Provides a way to execute a search request in Lucene based on a Lucene Query. | ||
/// </summary> | ||
/// <param name="query"></param> | ||
/// <param name="indexName"></param> | ||
/// <param name="start"></param> | ||
/// <param name="end"></param> | ||
/// <returns><see cref="IList{String}">IList<string></see></returns> | ||
Task<IList<string>> ExecuteQueryAsync(Query query, string indexName, int start = 0, int end = 20); | ||
} | ||
} |
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