Skip to content

Restructure the SEARCH cheat sheet - #1682

Open
mauvo wants to merge 2 commits into
neo4j:devfrom
mauvo:search-cheat-sheet-cleanup
Open

mauvo wants to merge 2 commits into
neo4j:devfrom
mauvo:search-cheat-sheet-cleanup

Conversation

@mauvo

@mauvo mauvo commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace the long mixed SEARCH example list with a concise overview
  • add focused SEARCH VECTOR examples for syntax, scoring, post-filtering, and in-index filtering
  • add focused SEARCH FULLTEXT examples for query syntax, scoring, pagination, and analyzer selection
  • link to the detailed SEARCH reference for restrictions and advanced behavior

Syntax highlighting

The new SEARCH syntax exposes missing keywords and token-boundary handling in the currently published Cypher highlighter. highlightjs-cypher#21 fixes the highlighting. This documentation PR keeps the examples as ordinary source, cypher blocks and does not add a markup workaround.

Testing

  • npm run build:preview
  • previewed the aggregate cheat sheet with a local docs UI bundle built against highlightjs-cypher#21
  • verified SEARCH, VECTOR, FULLTEXT, SCORE, ANALYZER, OFFSET, and [WHERE ...] highlighting in the rendered DOM

@mauvo
mauvo requested a review from JPryce-Aklundh October 7, 2026 14:57
@mauvo
mauvo force-pushed the search-cheat-sheet-cleanup branch from 1d41984 to 75c9765 Compare October 9, 2026 13:35
@neo4j-docops-agent

Copy link
Copy Markdown
Collaborator

This PR includes documentation updates
View the updated docs at https://neo4j-docs-cypher-1682.surge.sh

New pages:

Updated pages:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants