Not easily found in the docs, but yes, there is - it's documentation can be found here:

http://asterixdb.apache.org/docs/0.8.8-incubating/aql/manual.html#Statements

Look for DropStatement - which is defined as:

DropStatement       ::= "drop" ( "dataverse" Identifier IfExists
                               | "type" FunctionOrTypeName IfExists
                               | "dataset" QualifiedName IfExists
                               | "index" DoubleQualifiedName IfExists
                               | "function" FunctionSignature IfExists )
IfExists            ::= ( "if" "exists" )?

Which for an index-based example looks like:

        drop index FacebookUsers.fbSenderLocIndex;

Cheers,

Mike


On 5/24/16 3:49 AM, Magnus Kongshem wrote:
Hi guys,

Is there a way to delete a previously created index in a dataset? Can't find it in the docs.

--

Mvh

Magnus Kongshem
+47 415 65 906


Reply via email to