Skip to content
This repository was archived by the owner on Jul 18, 2018. It is now read-only.
This repository was archived by the owner on Jul 18, 2018. It is now read-only.

求助:为什么我不能分词 #70

@chbro

Description

@chbro

配置和readme相同,本地测试结果如下

array:4 [
  "took" => 17
  "timed_out" => false
  "_shards" => array:3 [
    "total" => 1
    "successful" => 1
    "failed" => 0
  ]
  "hits" => array:3 [
    "total" => 1
    "max_score" => 1.0
    "hits" => array:1 [
      0 => array:5 [
        "_index" => "laravel54"
        "_type" => "docs"
        "_id" => "25"
        "_score" => 1.0
        "_source" => array:2 [▶]
      ]
    ]
  ]
]

max_score竟然是1.0;
并且不能分词:
比如我的文档中含有地域,搜索中国地域就搜不到

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions