[
https://issues.apache.org/jira/browse/SOLR-6280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16617505#comment-16617505
]
ASF subversion and git services commented on SOLR-6280:
-------------------------------------------------------
Commit ac7969e3c05cf9db28dbe52d0911d64a864d8c97 in lucene-solr's branch
refs/heads/master from [~dsmiley]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ac7969e ]
SOLR-6280: CollapseQParser now throws an error when pointing to a multi-valued
field.
> 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
> Assignee: David Smiley
> Priority: Minor
> Attachments: SOLR-6280.patch, SOLR-6280.patch
>
>
> 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
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]