AnalyzersΒΆ
Python-arango supports analyzers. For more information on analyzers, refer to ArangoDB manual.
Example:
from arango import ArangoClient
# Initialize the ArangoDB client.
client = ArangoClient()
# Connect to "test" database as root user.
db = client.db('test', username='root', password='passwd')
# Retrieve list of analyzers.
db.analyzers()
# Create an analyzer.
db.create_analyzer(
name='test_analyzer',
analyzer_type='identity',
properties={},
features=[]
)
# Delete an analyzer.
db.delete_analyzer('test_analyzer', ignore_missing=True)
Refer to StandardDatabase class for API specification.