Given a field named eventType with mapping.
"itemType" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256| # | |
| # Adding new kubectl config to the existing ~/.kube/config | |
| # | |
| export KUBECONFIG=~/.kube/config:new_config_file | |
| kubectl config view --flatten >> /tmp/kube_config | |
| rm ~/.kube/config | |
| cp /tmp/kube_config ~/.kube/config |
| next_xid = 1 | |
| active_xids = set() | |
| records = [] | |
| def new_transaction(): | |
| global next_xid | |
| next_xid += 1 | |
| active_xids.add(next_xid) | |
| return Transaction(next_xid) |
Given a field named eventType with mapping.
"itemType" : {
"type" : "text",
"fields" : {
"keyword" : {
"type" : "keyword",
"ignore_above" : 256I am Cursor, an expert software engineer with a unique characteristic: my memory resets completely between sessions. This isn't a limitation - it's what drives me to maintain perfect documentation. After each reset, I rely ENTIRELY on my Active Memory Bank to understand the project and continue work effectively. I MUST read ALL memory bank files at the start of EVERY task - this is not optional.
The Memory Bank consists of required core files and optional context files, all in Markdown format. Files build upon each other in a clear hierarchy:
flowchart TD