-
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.
Merge pull request #422 from ArangoDB-Community/feature3.10/DE-352-ar…
…angosearch-changes ArangoSearch changes in ArangoDB 3.10
- Loading branch information
Showing
7 changed files
with
168 additions
and
23 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,29 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace ArangoDBNetStandard.ViewApi.Models | ||
{ | ||
public class SearchAliasIndex | ||
{ | ||
/// <summary> | ||
/// Name of the collection | ||
/// </summary> | ||
public string Collection { get; set; } | ||
|
||
/// <summary> | ||
/// Name of the index | ||
/// </summary> | ||
public string Index { get; set; } | ||
|
||
/// <summary> | ||
/// Optional. Type of operation. | ||
/// Possible values: | ||
/// <see cref="SearchAliasIndexOperation.Add"/>, or | ||
/// <see cref="SearchAliasIndexOperation.Del"/> | ||
/// Only relevant when updating the | ||
/// properties of a View definition. | ||
/// </summary> | ||
public string Operation { get; set; } | ||
} | ||
} |
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"; | ||
} | ||
} |