Returns a weighted list of values for a specified property sorted by how many times the value appears. For instance,
given a list of structured content that has values for the following
item1.tag = foo
item2.tag = bar
item3.tag = foo
item4.tag = baz
item5.tag = foo
item6.tag = bar
Then the result will be the following list:
[foo, bar, baz]
As the terms foo, bar, and baz appeared 3, 2, and 1 times.
- contentList - list of content values as a result of invoking the
ContentProcessor
- weightProperty - a property of either the dynamic field or a bean property for a piece of structured content
- maxSize - maximum number of weighted values to return. Note that the resulting set could be smaller than this number
but never larger
- delimiter - an optional delimiter to split a particular property value by (like a comma). Useful if your content
has a field for something like 'tags' that are comma-separated strings