Skip to content

Is graphify will filter string that length < 2? #962

Closed

Description

@candy-Tong

i Use this query

graphify query "前端 dependency 依赖 install 安装 package manager 包管理器 项目约定"

But it can not find my docs.

I ask codex, it answer this:


我看了 graphify query 的实现,核心逻辑是:

  terms = [t.lower() for t in question.split() if len(t) > 2]

  也就是说它只按空格切词,并且过滤掉长度 <= 2 的词。

  所以你的 query 里:

  前端 dependency 依赖 install 安装 package manager 包管理器 项目约定

  实际参与检索的只有:

  dependency, install, package, manager, 包管理器, 项目约定

  前端、依赖、安装 都被过滤掉了。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions