title: How to rewrite create full-text search index for Neo4j 4.4
body: <p>Currently we are using the old method <code>db.index.fulltext.createNodeIndex</code> to create a full-text search index, but since this is deprecated in 4.4 how to rewrite with <code>CREATE FULLTEXT INDEX</code>?</p>
  <pre><code>CALL db.propertyKeys() YIELD propertyKey CALL db.labels() YIELD label WITH 
  collect(DISTINCT propertyKey) AS properties, 
  collect(DISTINCT label) AS labels 
  CALL db.index.fulltext.createNodeIndex(&quot;fullSearchIndex&quot;, labels, properties) RETURN labels, properties
  </code></pre>