-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
89 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
namespace Meilisearch | ||
{ | ||
/// <summary> | ||
/// Search Query for Meilisearch class | ||
/// </summary> | ||
public class SearchQuery | ||
{ | ||
/// <summary> | ||
/// Offset for the Query. | ||
/// </summary> | ||
public int? Offset { get; set; } | ||
|
||
/// <summary> | ||
/// Limit the number of results. | ||
/// </summary> | ||
public int? Limit { get; set; } | ||
|
||
/// <summary> | ||
/// Filters to search the query. | ||
/// </summary> | ||
public string Filter { get; set; } | ||
|
||
/// <summary> | ||
/// Attributes to retrieve. | ||
/// </summary> | ||
public string AttributesToRetrieve { get; set; } | ||
|
||
/// <summary> | ||
/// Attributes to crop. | ||
/// </summary> | ||
public string attributesToCrop { get; set; } | ||
|
||
/// <summary> | ||
/// Length used to crop field values | ||
/// </summary> | ||
public int? cropLength { get; set; } | ||
|
||
/// <summary> | ||
/// Attributes whose values will contain highlighted matching terms | ||
/// </summary> | ||
public string AttributesToHighlight { get; set; } | ||
|
||
/// <summary> | ||
/// Defines whether an object that contains information about the matches should be returned or not | ||
/// </summary> | ||
public string Matches { get; set; } | ||
} | ||
} |
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