gpt4 book ai didi

solr - SOLR 中的多值属性分组

转载 作者:行者123 更新时间:2023-12-04 17:53:56 25 4
gpt4 key购买 nike

我遇到了一个问题,其中一个列是多值的。例如:值可以是 (11,22) (11,33) (11,55) , (22,44) , (22,99)

我想执行一个分组操作,它将产生:

  • 11 : 计数 3
  • 22 : 计数 3
  • 33 : 1
  • 44 : 1
  • 55 : 1
  • 99 : 1
  • 最佳答案

    目前还不能在 Solr 中对多值字段进行分组。

    Documentation :-

    Support for grouping on a multi-valued field has not yet been implemented.

    关于solr - SOLR 中的多值属性分组,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11464161/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com