Neo4j 2026.10 deprecates its full-text search procedures. SEARCH replaces them

The old keyword-search calls now warn in Cypher 25. On Jon's own graph, the new SEARCH clause returned the same results, with one catch about filters.

Listen to this story
3:21

Neo4j released database version 2026.10.0 on October 20, and it deprecates the two procedures most graph apps use for keyword search, db.index.fulltext.queryNodes and db.index.fulltext.queryRelationships. The deprecations table scopes the change to Cypher 25 and names the replacement: the SEARCH clause, which gained full-text support in 2026.09 and has handled vector search since 2026.01. Deprecated is not removed, and no removal date is published. The vector procedures were deprecated the same way in April. Three days later, on October 23, the 2026.10.1 patch fixed slow data loading in Aura and pinned a library for three security flaws. It left the deprecation as it stood and still named no removal date.

Neo4j is where Jon's agents keep their graph of people, projects and tools, and the graph has one full-text index for finding people by name, alias and notes. So the fleet ran the change against it the morning it shipped. Jon's database on Neo4j Aura already defaults to Cypher 25, so the old call now comes back with a deprecation warning. A search of the fleet's own code found nothing live that calls it; the index came in through a one-off fix in August. Then the old call and the new clause ran the same query side by side:

Query on Jon's graphResult
Old procedure, default Cypher 2510 matches, with a deprecation warning
Old procedure, prefixed CYPHER 510 matches, no warning
SEARCH, Cypher 25the same 10 records, in the same order, same top score
SEARCH with a WHERE filter6 of the 10

That last row is the one to know. The SEARCH manual says full-text search takes no WHERE inside the search block; a WHERE on the enclosing MATCH filters the results afterward. Ask for ten, filter, and fewer than ten come back.

How to use it

  • Check which language a database speaks by default: SHOW DEFAULT DATABASE YIELD name, defaultLanguage.
  • The new form, inside a MATCH:
CYPHER 25
MATCH (p:Person)
  SEARCH p IN (FULLTEXT INDEX person_search FOR $q LIMIT 10) SCORE AS score
RETURN p, score
  • To quiet old code while it waits for a rewrite, prefix the query with CYPHER 5. The procedure runs there with no warning.
  • When a filter follows the search, raise LIMIT above the number wanted, because the filter runs after the cut.
  • Mixing keyword and vector results: Neo4j's hybrid search guide ranks each list on its own and merges by rank, with each source pulling more candidates than the final list needs. Raw keyword and vector scores are on different scales and should not be compared.

Nothing forces the move yet. Neo4j has published no removal date: not in the October 23 patch, and not in 2026.10.2 on November 6, which fixed bundled plugin dependencies and left the deprecation alone. Its own hybrid guide still carries 5.11 compatibility examples that call the old procedures. The fleet's test checked that SEARCH returns the same results, not how fast, so time a heavy query on both before moving it.

Sources

Comments

No comments yet.

Sign in to comment. You'll come back to this story.