<commit_before>[[deprecations]]
= Deprecations =

This section outlines deprecations in Neo4j {neo4j-version} or earlier in order to help you find a smoother transition path to future releases.

Cypher ExecutionEngine::
There's no need to use `ExecutionEngine` anymore.
Instead, use the link:javadocs/org/neo4j/graphdb/GraphDatabaseService.html#execute(java.lang.String)[execute] methods on `GraphDatabaseService`.
`ExecutionEngine` and the related classes/interfaces have been deprecated, see the javadocs for details.

Embedded Java API::
See link:javadocs/deprecated-list.html[Deprecated list in Javadoc].

Graph Matching::
The graph-matching component will be removed in future releases.

Windows scripts::
The `.bat` files used to operate the database and tools on Windows are being phased out and will be removed in future releases, in favor of modern, equivalent PowerShell scripts.
For more information, see <<powershell>>.

`STR()` function::
The `STR()` function is deprecated from Neo4j version 2.3 and onwards.
It may be removed in a future major release.<commit_msg>Note the deprecation of HAS() in the deprecations section.<commit_after>[[deprecations]]
= Deprecations =

This section outlines deprecations in Neo4j {neo4j-version} or earlier in order to help you find a smoother transition path to future releases.

Cypher ExecutionEngine::
There's no need to use `ExecutionEngine` anymore.
Instead, use the link:javadocs/org/neo4j/graphdb/GraphDatabaseService.html#execute(java.lang.String)[execute] methods on `GraphDatabaseService`.
`ExecutionEngine` and the related classes/interfaces have been deprecated, see the javadocs for details.

Embedded Java API::
See link:javadocs/deprecated-list.html[Deprecated list in Javadoc].

Graph Matching::
The graph-matching component will be removed in future releases.

Windows scripts::
The `.bat` files used to operate the database and tools on Windows are being phased out and will be removed in future releases, in favor of modern, equivalent PowerShell scripts.
For more information, see <<powershell>>.

`STR()` function::
The `STR()` function is deprecated from Neo4j version 2.3 and onwards.
It may be removed in a future major release.

`HAS()` function::
The `HAS()` function is deprecated from Neo4j version 2.3 and onwards. Please use `EXISTS()` instead. It will be
removed in a future major release.
{'fraction_non_alphanumeric': 0.0771826233656685, 'fraction_numerical': 0.0063264445381695485, 'mean_word_length': 5.463215258855586, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5894992', 'n_tokens_mistral': 675, 'n_tokens_neox': 622, 'n_words': 295}