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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/SOLR-6280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16614841#comment-16614841 ]

David Smiley commented on SOLR-6280:
------------------------------------

Absolutely.  It's not assigned to me and was filed a long time ago so the probability I've been working on it is close to 0.

> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]