Created an issue in jira for this features:
https://issues.apache.org/jira/browse/SOLR-2884
Martijn v Groningen-2 wrote:
>
> Ok I think I get this. I think this can be achieved if one could
> specify a filter inside a group and only documents that pass the
> filter get grouped. For example only
Ok I think I get this. I think this can be achieved if one could
specify a filter inside a group and only documents that pass the
filter get grouped. For example only group documents with the value
image for the mimetype field. This filter should be specified per
group command. Maybe we should open
Martijn v Groningen-2 wrote:
>
> When using the group.field option values must be the same otherwise
> they don't get grouped together. Maybe fuzzy grouping would be nice.
> Grouping videos and images based on mimetype should be easy, right?
> Videos have a mimetype that start with video/ and ima
> The current grouping functionality using group.field is basically
> all-or-nothing: all documents will be grouped by the field value or none
> will. So there would be no way to, for example, collapse just the videos or
> images like they do in google.
When using the group.field option values must
Not necessarily collapse.type=adjacent. That is only when two docs with the
same field value appear next to each other. I'm more concerned with the case
where we only want a group of a certain type (no matter where the subsequent
docs may be), leaving the rest of the documents ungrouped.
The curre
So if look at the old SOLR-236 fieldcollapsing
(http://wiki.apache.org/solr/FieldCollapsingUncommitted) you mean
collapse.type=adjacent ?
I think we shouldn't change group.query parameter. Since it serves a
different purpose. I think it is better to have a new parameter for
this different way of g