Skip to content

feat: document fuzzy phrase search#1677

Merged
vpavicic merged 3 commits into
release/3.12from
feat/fuzzy-phrase-search
Jul 7, 2026
Merged

feat: document fuzzy phrase search#1677
vpavicic merged 3 commits into
release/3.12from
feat/fuzzy-phrase-search

Conversation

@DavIvek

@DavIvek DavIvek commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Release note

Added the text_search.fuzzy_phrase_search and text_search.fuzzy_phrase_search_edges procedures for typo-tolerant phrase matching. They match an ordered, adjacent sequence of terms on a single property (data.<property>:<terms>), treating the last term as a prefix, so data.title:big bad wo matches big bad wolf, big bad world and the big bad wolf returns. The fuzzy_distance value (02) is a single edit budget shared across the whole phrase rather than a per-term allowance. Only single-property queries are accepted, and because the last term is always a prefix, fuzzy_prefix: false is rejected.

Also, this PR adds a few improvements to text search docs page.

Related product PRs

PRs from product repo this doc page is related to:

Checklist:

  • Add appropriate milestone (current release cycle)
  • Add bugfix or feature label, based on the product PR type you're documenting
  • Make sure all relevant tech details are documented
  • Check all content with Grammarly
  • Perform a self-review of my code
  • The build passes locally
  • My changes generate no new warnings or errors

Document text_search.fuzzy_phrase_search / fuzzy_phrase_search_edges:
ordered, adjacent multi-term matching on a single property with a prefix
last term and a fuzzy edit budget shared across the whole phrase. Add the
procedures to the search configuration list.
@DavIvek DavIvek added the feature Documentation related to a new product feature of feature update label Jul 7, 2026
@DavIvek DavIvek added this to the 3.12 milestone Jul 7, 2026
@vercel

vercel Bot commented Jul 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
documentation Ready Ready Preview, Comment Jul 7, 2026 11:39am

Request Review

Add a 'How text search matching works' section (default tokenizer,
case-insensitivity, token-vs-substring, the data. prefix) and a 'Which
procedure should I use?' decision table. Clarify that fuzzy_prefix matches
each term independently and unordered, and point to fuzzy_phrase_search for
ordered search-as-you-type.
@DavIvek
DavIvek marked this pull request as ready for review July 7, 2026 11:31
@vpavicic
vpavicic merged commit edef2f8 into release/3.12 Jul 7, 2026
2 checks passed
@vpavicic
vpavicic deleted the feat/fuzzy-phrase-search branch July 7, 2026 13:19
gitbuda added a commit that referenced this pull request Jul 15, 2026
* Add Memgraph v3.12.0 and Lab v3.12.0 release note titles

Co-authored-by: Cursor <cursoragent@cursor.com>

* Add v3.12.0 release note for #4269 replace() empty search fix.

Co-authored-by: Cursor <cursoragent@cursor.com>

* fix: document replace() behavior with empty search string (#1658)

* docs: WAL file CRC (#1669)

* Add v3.12.0 release notes for #4228, #4270, and #4271.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Apply suggestions from code review

Co-authored-by: Vlasta <95473291+vpavicic@users.noreply.github.com>

* Added RPM builds of MAGE and updated the direct download links (#1674)

* added RPM builds of MAGE and updated direct download links

* update mage install page

* update version number

* Remove premature light-edge release notes for #4228 and #4271.

Light edges will ship as one combined changelog item and docs PR when the
full memgraph PR stack is ready.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Add v3.12.0 release notes for #4289 and #4310.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Document clusterSetup labels and securityContext for HA chart (helm-charts #259) (#1673)

* docs: Remove deprecated HA flags (#1672)

Co-authored-by: Vlasta <95473291+vpavicic@users.noreply.github.com>

* Add v3.12.0 release notes for #4286, #4304, #4314, and #4323.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Add v3.12-critical release notes and reorder v3.12.0 sections.

Cover mg-v3.12-critical PRs in release notes, put New features before
Improvements, and wrap the #4269 bug-fix entry.

Co-authored-by: Cursor <cursoragent@cursor.com>

* feat: document fuzzy phrase search (#1677)

* feat: document fuzzy phrase search

Document text_search.fuzzy_phrase_search / fuzzy_phrase_search_edges:
ordered, adjacent multi-term matching on a single property with a prefix
last term and a fuzzy edit budget shared across the whole phrase. Add the
procedures to the search configuration list.

* docs: explain text search matching model and procedure selection

Add a 'How text search matching works' section (default tokenizer,
case-insensitivity, token-vs-substring, the data. prefix) and a 'Which
procedure should I use?' decision table. Clarify that fuzzy_prefix matches
each term independently and unordered, and point to fuzzy_phrase_search for
ordered search-as-you-type.

* minor fix

* Add supply chain attestations and SBOM to Docker images (#1678)

* Add v3.12.0 release note for Docker SBOM and attestations (#4337).

Co-authored-by: Cursor <cursoragent@cursor.com>

* docs(multi-tenancy): document SUSPEND/RESUME DATABASE (hot/cold tenants) (#1679)

* docs(multi-tenancy): document SUSPEND/RESUME DATABASE (hot/cold tenants)

Add end-user docs for the enterprise SUSPEND DATABASE / RESUME DATABASE
feature (memgraph#4280):

- multi-tenancy.mdx: new "Suspending and resuming databases" section
  (syntax, privileges/enterprise gating, requirements & restrictions,
  behavior of other commands on a COLD tenant, durability, replication,
  observability); add SUSPEND/RESUME to the Cypher-query list; document
  the new HOT/COLD `state` column on SHOW DATABASES.
- server-stats.mdx: add `state` field to the per-database SHOW STORAGE
  INFO table; note a COLD database returns its as-of-suspend snapshot
  with live-only fields zeroed.
- system-replication.mdx: note suspend/resume is system-replicated and
  rejected on a REPLICA; replicas converge to MAIN's HOT/COLD set.

Grounded in the merged code (exact error/status strings, column values),
not the pre-GA spec.

Claude-Session: https://claude.ai/code/session_01XhTw5sUoqieu5n71eRpN5C

* docs(multi-tenancy): reference-page updates for SUSPEND/RESUME DATABASE

- query-privileges.mdx: add SUSPEND/RESUME DATABASE rows (MULTI_DATABASE_EDIT,
  Enterprise) to the multi-database operations privilege table.
- enabling-memgraph-enterprise.mdx: mention suspend/resume in the Multi-tenancy
  Enterprise-feature entry.
- multi-tenancy.mdx: add a basic end-to-end usage example (suspend → SHOW
  DATABASES → resume → use); minor wording fix.

Claude-Session: https://claude.ai/code/session_01XhTw5sUoqieu5n71eRpN5C

* docs: document light edges (--storage-light-edge) for 3.12 (#1680)

Add documentation for the lightweight edges feature (12 PRs #4207-#4248,
#4271) merged between v3.11.0 and v3.12.0:

- configuration.mdx: new --storage-light-edge=false row in the storage
  flag table.
- storage-memory-usage.mdx: Edge memory layout note, a "Reduce memory
  usage" tip, and a new "Lightweight edges" subsection covering the
  ~24B/edge saving, the id-lookup tradeoff, the properties-on-edges
  implication, and durability/replication scope.
- release-notes.mdx: new-feature entry under v3.12.0.

Claude-Session: https://claude.ai/code/session_01HnnUvo6hNVJv3ZozhKStRF

* feat: Global read-only mode (#1681)

* feat: Global read-only mode

* docs: Refactor

* docs: Storage allow recovery failure (#1682)

* docs: Storage allow recovery failure

* Apply suggestions from code review

Co-authored-by: Vlasta <95473291+vpavicic@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Vlasta <95473291+vpavicic@users.noreply.github.com>

---------

Co-authored-by: Vlasta <95473291+vpavicic@users.noreply.github.com>

* Add remaining v3.12.0 release notes for light edges and four fixes.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Property based access control (#1668)

* doc: Document PBAC

* doc: Note `edge_type` is a single item, not a list

* doc: Update enterprise page with PBAC

* doc: Add example of global/specific rules for PBAC

* Regenerate sitemap for v3.12.0 documentation release.

Co-authored-by: Cursor <cursoragent@cursor.com>

* update changelog

* Change release date for Lab v3.12.0

Updated the release date for Lab v3.12.0 from July 29th, 2026 to July 15th, 2026.

* Update sitemap

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Ivan Milinović <44698587+imilinovic@users.noreply.github.com>
Co-authored-by: Andi Skrgat <andi8647@gmail.com>
Co-authored-by: Dr Matt James <mattkjames7@gmail.com>
Co-authored-by: David Ivekovic <david.ivekovic@memgraph.io>
Co-authored-by: andrejtonev <29177572+andrejtonev@users.noreply.github.com>
Co-authored-by: colinbarry <colin.barry@memgraph.io>
Co-authored-by: Toni <toni.lastre@memgraph.io>
Co-authored-by: Marko Budiselić <marko.budiselic@memgraph.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Documentation related to a new product feature of feature update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants