Hello,
Is there a way to group by multiple columns and group by the phrase not the indexed words?
My data looks a little like this:
Column A Column B
this is a phrase another sub phrase
this is a phrase another sub phrase
this is a phrase another sub phrase
this is a phrase another new sub phrase
this is a phrase another new sub phrase
something else something else sub phrase
I'm basically trying to group by both columns (the phrases), bring back the group names and counts.
I tried this but it is using the index so its breaking the individual words into groups and i cant figure out how to do it by two groups:
var r = solrcase.Query( new SolrQueryByRange<DateTime>("CASEREQUESTEDDATE", DateTime.Now.AddDays(-7),
DateTime.Now.AddDays(-1)), new QueryOptions
{
Grouping = new GroupingParameters
{
Format = GroupingFormat.Grouped,
Fields = new[] { "COLUMN A" },
Ngroups = true
}
});
var test = r.Grouping["COLUMN A"];
Thanks,