You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2018/09/14 16:35:00 UTC

[jira] [Assigned] (SOLR-6280) Collapse QParser should give error for multiValued field

     [ https://issues.apache.org/jira/browse/SOLR-6280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Smiley reassigned SOLR-6280:
----------------------------------

    Assignee: David Smiley

LGTM Munendra; no other changes should be necessary.  I'll let the patch review bot check this out now.

> 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
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org