【问题标题】:neo4j how to enable fulltext search for dockerneo4j 如何启用 docker 的全文搜索
【发布时间】:2017-07-17 14:43:17
【问题描述】:

我想在 neo4j docker 容器中启用全文搜索并遵循以下内容:https://neo4j.com/developer/kb/fulltext-search-in-neo4j/

我将配置目录设置为一个卷。有没有办法转储 conf/neo4j.properties 以查看当前存在的内容?不确定这是否是一回事,或者我是否只需要创建文件。我尝试创建文件,然后附加到正在运行的 docker 容器并运行 neo4j-shell 并运行 index --get-config node_auto_index,但这只是说 No such node index 'node_auto_index'

我也试过放

# Enable auto-indexing for nodes, default is false.
node_auto_indexing=true
Then in the same file add the node property keys to be auto-indexed.

# The node property keys to be auto-indexed, if enabled.
node_keys_indexable=name,title,tagline

在我创建了一个转储后的 neo4j.conf 文件的底部。

有什么建议或有人成功完成了吗?

谢谢!

【问题讨论】:

    标签: neo4j


    【解决方案1】:

    我从来没有想到这一点,但最终还是暂时使用了 APOC 功能。

    我很可能最终会使用 solr 进行索引以获得更好的全文搜索过滤 (:sigh)。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-01-14
      • 2020-02-25
      • 2020-08-22
      • 1970-01-01
      • 1970-01-01
      • 2023-04-08
      相关资源
      最近更新 更多