Multi-valued grouping in SOLR

I ran into a problem when one of my columns is multi-valued. for example: the value may be (11.22) (11.33) (11.55), (22.44), (22.99)

I want to perform a grouping operation that will give:

  • 11: count 3
  • 22: count 3
  • 33: 1
  • 44: 1
  • 55: 1
  • 99: 1
+5
source share
2 answers

One indirect way to achieve this is to copy all the values ​​corresponding to this field, a space or some other character between them in the text field, and then designate this field with this symbol (using whitespace tokenizerin the case of spaces). Then you can use the group, and I believe that should work.

+4
source

A multi-valued field cannot yet be grouped into Solr.

: -

.

+4

All Articles