David Smiley created SOLR-6280:
----------------------------------
Summary: Collapse QParser should give error for multiValued field
Key: SOLR-6280
URL: https://issues.apache.org/jira/browse/SOLR-6280
Project: Solr
Issue Type: Improvement
Components: search
Reporter: David Smiley
Priority: Minor
The Collapse QParser does give results if you collapse on a multi-valued field,
but the document->value is somewhat arbitrarily chosen based on the internals
of the FieldCache (FieldCacheImpl.SortedDocValuesCache).
Note that the Grouping functionality accesses values via
FieldType.getValueSource which is a layer of abstraction above that includes a
multiValued error check.
Collapse should throw an error here.
p.s. easy to test with exampledocs collapsing on "cat"
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]