You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shawn Heisey (JIRA)" <ji...@apache.org> on 2015/11/20 18:47:11 UTC

[jira] [Commented] (SOLR-8088) Distributed grouping seems to require docValues in 5.x, didn't in 4.x

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

Shawn Heisey commented on SOLR-8088:
------------------------------------

[~yseeley@gmail.com], I know that fixing the fallout in Solr from LUCENE-5666 probably won't be easy.  Do we have a realistic timeframe for when a fix might happen?  I think I can probably use the "copyField that has docValues" workaround, but that might not be a realistic option for some.  There are likely legitimate cases where somebody wants to be able to group on a tokenized field.

> Distributed grouping seems to require docValues in 5.x, didn't in 4.x
> ---------------------------------------------------------------------
>
>                 Key: SOLR-8088
>                 URL: https://issues.apache.org/jira/browse/SOLR-8088
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 5.2.1
>            Reporter: Shawn Heisey
>
> I have a field in my index that is lowercased after the KeywordTokenizer.  I wish to do grouping on this field.  It is a distributed index.
> This works fine in Solr 4.9.1 running on Java 8.
> When I try the distributed grouping request (with the same schema) on Solr 5.2.1, it fails, with this exception:
> {code}
> java.lang.IllegalStateException: unexpected docvalues type SORTED_SET for field 'ip' (expected=SORTED). Use UninvertingReader or index with docvalues.
> {code}
> If I make the same request directly to one of the shards on 5.2.1, it works.  If I create a copyField to a field using StrField with docValues, the distributed request works ... but then I lose the lowercasing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org