Skip to main content
Glama
orneryd

M.I.M.I.R - Multi-agent Intelligent Memory & Insight Repository

by orneryd
README.mdβ€’5.08 kB
# APOC Functions for NornicDB NornicDB includes **850+ APOC functions** compatible with Neo4j's APOC library. ## Documentation πŸ“š **[Full Documentation β†’](../docs/features/apoc-functions.md)** ## Quick Reference ### Configuration ```bash # Environment variables (Docker/K8s friendly) NORNICDB_PLUGINS_DIR=/plugins # Custom plugin directory NORNICDB_APOC_ALGO_ENABLED=false # Disable expensive algorithms NORNICDB_APOC_CREATE_ENABLED=false # Disable write operations ``` ### Available Categories | Category | Functions | Description | |----------|-----------|-------------| | `apoc.coll.*` | 60+ | Collection operations | | `apoc.text.*` | 50+ | Text processing | | `apoc.math.*` | 50+ | Math operations | | `apoc.algo.*` | 15+ | Graph algorithms | | `apoc.create.*` | 25+ | Dynamic creation | | `apoc.atomic.*` | 20+ | Atomic operations | | `apoc.bitwise.*` | 15+ | Bitwise operations | | `apoc.cypher.*` | 20+ | Dynamic Cypher | | `apoc.export.*` | 15+ | Export data | | `apoc.import.*` | 15+ | Import data | | `apoc.hashing.*` | 20+ | Hashing functions | | `apoc.load.*` | 30+ | Data loading | | `apoc.lock.*` | 15+ | Locking mechanisms | | `apoc.log.*` | 25+ | Logging functions | | `apoc.merge.*` | 20+ | Merge operations | | `apoc.meta.*` | 30+ | Metadata functions | | `apoc.nodes.*` | 30+ | Batch node operations | | `apoc.paths.*` | 25+ | Advanced paths | | `apoc.periodic.*` | 10+ | Periodic execution | | `apoc.refactor.*` | 25+ | Graph refactoring | | `apoc.schema.*` | 25+ | Schema management | | `apoc.scoring.*` | 25+ | Scoring/ranking | | `apoc.search.*` | 30+ | Full-text search | | `apoc.spatial.*` | 25+ | Geographic functions | | `apoc.stats.*` | 30+ | Statistics | | `apoc.temporal.*` | 40+ | Date/time operations | | `apoc.trigger.*` | 20+ | Trigger management | | `apoc.warmup.*` | 15+ | Database warmup | | `apoc.xml.*` | 25+ | XML processing | | ...and 15+ more categories | | See full docs | ### Custom Plugins Drop `.so` files into `NORNICDB_PLUGINS_DIR` - they're auto-loaded on startup. ```go // Your plugin must export: var Plugin YourPlugin type YourPlugin struct{} func (p YourPlugin) Name() string { return "custom" } func (p YourPlugin) Version() string { return "1.0.0" } func (p YourPlugin) Functions() map[string]apoc.PluginFunction { ... } ``` ## Package Structure ``` apoc/ β”œβ”€β”€ apoc.go # Main entry point, function registration β”œβ”€β”€ config.go # Configuration (env vars, YAML) β”œβ”€β”€ plugins.go # Plugin loading (.so files) β”œβ”€β”€ storage/ # Storage interface β”œβ”€β”€ registry/ # Function registry β”œβ”€β”€ plugin/ # Plugin system β”‚ β”œβ”€β”€ Core Functions (45+ packages): β”œβ”€β”€ agg/ # Aggregation functions β”œβ”€β”€ algo/ # Graph algorithms β”œβ”€β”€ atomic/ # Atomic operations β”œβ”€β”€ bitwise/ # Bitwise operations β”œβ”€β”€ coll/ # Collection functions β”œβ”€β”€ convert/ # Type conversions β”œβ”€β”€ create/ # Dynamic creation β”œβ”€β”€ cypher/ # Dynamic Cypher β”œβ”€β”€ date/ # Date/time functions β”œβ”€β”€ diff/ # Diff operations β”œβ”€β”€ export/ # Export data β”œβ”€β”€ graph/ # Virtual graphs β”œβ”€β”€ hashing/ # Hashing functions β”œβ”€β”€ imports/ # Import data β”œβ”€β”€ json/ # JSON operations β”œβ”€β”€ label/ # Label operations β”œβ”€β”€ load/ # Data loading β”œβ”€β”€ lock/ # Locking mechanisms β”œβ”€β”€ log/ # Logging functions β”œβ”€β”€ map/ # Map operations β”œβ”€β”€ math/ # Math operations β”œβ”€β”€ merge/ # Merge operations β”œβ”€β”€ meta/ # Metadata functions β”œβ”€β”€ neighbors/ # Neighbor traversal β”œβ”€β”€ node/ # Node operations β”œβ”€β”€ nodes/ # Batch node operations β”œβ”€β”€ number/ # Number formatting β”œβ”€β”€ path/ # Path finding β”œβ”€β”€ paths/ # Advanced paths β”œβ”€β”€ periodic/ # Periodic execution β”œβ”€β”€ refactor/ # Graph refactoring β”œβ”€β”€ rel/ # Relationship operations β”œβ”€β”€ schema/ # Schema management β”œβ”€β”€ scoring/ # Scoring/ranking β”œβ”€β”€ search/ # Full-text search β”œβ”€β”€ spatial/ # Geographic functions β”œβ”€β”€ stats/ # Statistics β”œβ”€β”€ temporal/ # Advanced date/time β”œβ”€β”€ text/ # Text processing β”œβ”€β”€ trigger/ # Trigger management β”œβ”€β”€ util/ # Utility functions β”œβ”€β”€ warmup/ # Database warmup β”œβ”€β”€ xml/ # XML processing β”‚ β”œβ”€β”€ plugins/ # Built-in plugins β”‚ β”œβ”€β”€ coll_plugin.go β”‚ └── text_plugin.go └── examples/ # Plugin examples ``` ## See Also - [Feature Flags](../docs/features/feature-flags.md) - Runtime configuration - [Cypher Reference](../docs/api-reference/) - Query language - [Performance Guide](../docs/performance/) - Optimization tips

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/orneryd/Mimir'

If you have feedback or need assistance with the MCP directory API, please join our Discord server