Hey, Sounds like you need to modify your indexing pipeline so that faceted fields contains person information as you want it to be counted (full names or partial). If you for example use a string-type of field, names are not split from spaces as they would be if you use a field type with tokenizers. In that case you would get counts of "Micky Mouse" when field is faceted on.
Sure you can also have multiple fields with different tokenization strategies and then use copyField to map original value to different fields and count values together later in your search pipeline for more versatility. Hope I answered your question. Br, Niko On Fri, Aug 27, 2021 at 6:27 AM Scott Derrick <sc...@tnstaafl.net> wrote: > I have <person> elements scattered through our document set. Each document > may have many <person> elements of the same person. > > Like <person>Micky Mouse</person> > > I want the facet count of the entire name, "Micky Mouse", not "Micky" and > "Mouse". > > How can I tell tell SOLR to facet on the entire element? > > I tried facet.contains=. and did not get the desired results. > > thanks, > > Scott > > > -- Niko Himanen Staff Search Engineer P +358 50 4100 773 E niko.hima...@alpha-sense.com <http://www.alpha-sense.com> www.alpha-sense.com