Skip to content

Instantly share code, notes, and snippets.

View jodok's full-sized avatar

Jodok Batlogg jodok

View GitHub Profile
@chaudum
chaudum / ltree.sql
Last active February 7, 2017 21:29
L-tree stucture with CrateDB
CREATE ANALYZER a1 (
TOKENIZER ltree WITH (
type = 'path_hierarchy',
delimiter = '.'
)
);
CREATE ANALYZER a2 (
TOKENIZER ltree WITH (
type = 'path_hierarchy',
apiVersion: v1
kind: Service
metadata:
name: crate-discovery
labels:
app: crate
spec:
ports:
- port: 4200
name: db