Skip to content

Full-text index restrictions

Caution

This topic introduces the restrictions for full-text indexes. Please read the restrictions very carefully before using the full-text indexes.

For now, full-text search has the following limitations:

  1. The maximum indexing string length is 256 bytes. The part of data that exceeds 256 bytes will not be indexed.

  2. If there is a full-text index on the tag/edge type, the tag/edge type cannot be deleted or modified.

  3. One tag/edge type can only have one full-text index.

  4. The type of properties must be string.

  5. The WHERE clause in the full-text search statement LOOKUP/MATCH does not support logical expressions AND and OR.

  6. Full-text index can not be applied to search multiple tags/edge types.

  7. Sorting for the returned results of the full-text search is not supported. Data is returned in the order of data insertion.

  8. Full-text index can not search properties with value NULL.

  9. Altering Elasticsearch indexes is not supported at this time.

  10. The pipe operator is not supported in the LOOKUP and MATCH statements, excluding the examples in our manual.

  11. Full-text search only works on single terms.

  12. Full-text indexes are not deleted together with the graph space.

  13. Make sure that you start the Elasticsearch cluster and Nebula Graph at the same time. If not, the data writing on the Elasticsearch cluster can be incomplete.

  14. Do not contain ' or \ in the vertex or edge values. If not, an error will be caused in the Elasticsearch cluster storage.

  15. It may take a while for Elasticsearch to create indexes. If Nebula Graph warns no index is found, wait for the index to take effect (however, the waiting time is unknown and there is no code to check).


Last update: August 31, 2021
Back to top