mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-20 17:30:46 +00:00
Users/srnara/mongo index (#229)
* added placeholder * Added check box * Added tolltip width constant * Add telemetry * formatting error * formatting error * support only for mongo v 3.6 accounts * resolved comment
This commit is contained in:
committed by
GitHub
parent
70c7d84bdb
commit
4b0b63b56b
@@ -228,42 +228,6 @@ export class IndexingPolicies {
|
||||
],
|
||||
excludedPaths: <any>[]
|
||||
};
|
||||
|
||||
// todo - remove mongo indexing policy ticket # 616274
|
||||
public static Mongo = {
|
||||
indexingMode: "consistent",
|
||||
automatic: true,
|
||||
includedPaths: [
|
||||
{
|
||||
path: "/*",
|
||||
indexes: [
|
||||
{
|
||||
kind: "Range",
|
||||
dataType: "Number",
|
||||
precision: -1
|
||||
},
|
||||
{
|
||||
kind: "Range",
|
||||
dataType: "String",
|
||||
precision: -1
|
||||
},
|
||||
{
|
||||
kind: "Spatial",
|
||||
dataType: "Point"
|
||||
},
|
||||
{
|
||||
kind: "Spatial",
|
||||
dataType: "LineString"
|
||||
},
|
||||
{
|
||||
kind: "Spatial",
|
||||
dataType: "Polygon"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
excludedPaths: <any>[]
|
||||
};
|
||||
}
|
||||
|
||||
export class SubscriptionUtilMappings {
|
||||
|
||||
@@ -71,7 +71,8 @@ export enum Action {
|
||||
NotebooksGitHubManageRepo,
|
||||
NotebooksGitHubCommit,
|
||||
NotebooksGitHubDisconnect,
|
||||
OpenTerminal
|
||||
OpenTerminal,
|
||||
CreateMongoCollectionWithWildcardIndex
|
||||
}
|
||||
|
||||
export const ActionModifiers = {
|
||||
|
||||
Reference in New Issue
Block a user