Modred
V2EX  ›  问与答

Solr v8.2 要怎么进行搜索词匹配度排序?

  •  
  •   Modred · Sep 24, 2019 · 1020 views
    This topic created in 2450 days ago, the information mentioned may be changed or developed.

    如题, 我以前用过 Solr6, 但 8 没用过, 以前的配置现在都没用了, 有大神知道 Solr8 要如何配置吗?

    举个栗子:

    搜索词: 洗衣机

    可能的搜索结果: 洗衣机,洗衣机罩,洗衣袋,干洗衣服

    期望的排序:

    1 洗衣机,2 洗衣机罩,3 洗衣袋,4 干洗衣服

    1.100%, 2.75%, 3.60%, 4.50%

    然而现实是直接给你按照 Id 排序了....

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4420 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 10:07 · PVG 18:07 · LAX 03:07 · JFK 06:07
    ♥ Do have faith in what you're doing.