-
Notifications
You must be signed in to change notification settings - Fork 30
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
6 changed files
with
79 additions
and
43 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
24 changes: 24 additions & 0 deletions
24
arangodb-net-standard/ViewApi/Models/SearchAliasIndexOperation.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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace ArangoDBNetStandard.ViewApi.Models | ||
{ | ||
/// <summary> | ||
/// Possible operations for search alias indexes. | ||
/// </summary> | ||
public static class SearchAliasIndexOperation | ||
{ | ||
/// <summary> | ||
/// Add the index to the stored indexes | ||
/// property of the View. | ||
/// </summary> | ||
public const string Add = "add"; | ||
|
||
/// <summary> | ||
/// Remove the index from the stored indexes | ||
/// property of the View. | ||
/// </summary> | ||
public const string Del = "del"; | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
arangodb-net-standard/ViewApi/Models/SortCompressionTypes.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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace ArangoDBNetStandard.ViewApi.Models | ||
{ | ||
/// <summary> | ||
/// Defines values for ArangoDB sort compression types. | ||
/// Possible value for <see cref="ViewDetails.PrimarySortCompression"/> | ||
/// </summary> | ||
public static class SortCompressionTypes | ||
{ | ||
/// <summary> | ||
/// Use LZ4 fast compression. | ||
/// </summary> | ||
public const string LZ4 = "lz4"; | ||
|
||
/// <summary> | ||
/// Disable compression to trade space for speed. | ||
/// </summary> | ||
public const string None = "none"; | ||
} | ||
} |
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,23 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace ArangoDBNetStandard.ViewApi.Models | ||
{ | ||
/// <summary> | ||
/// Defines values for ArangoDB view types. | ||
/// Possible value for <see cref="ViewDetails.Type"/> | ||
/// </summary> | ||
public static class ViewTypes | ||
{ | ||
/// <summary> | ||
/// See https://www.arangodb.com/docs/stable/arangosearch-views.html | ||
/// </summary> | ||
public const string ArangoSearch = "arangosearch"; | ||
|
||
/// <summary> | ||
/// See https://www.arangodb.com/docs/stable/arangosearch-views-search-alias.html | ||
/// </summary> | ||
public const string SearchAlias = "search-alias"; | ||
} | ||
} |