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

Devon Krisman commented on SOLR-3073:
-------------------------------------

This is the error that happens when you try to run a distributed grouping 
search with a UUID as the uniqueKey:

SEVERE: org.apache.solr.common.SolrException: Invalid UUID String: 
'java.util.UUID:317db1e1-b778-ec66-ef68-ddd00b096632'
        at org.apache.solr.schema.UUIDField.toInternal(UUIDField.java:85)
        at 
org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:217)
        at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:194)
        at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:1372)
        at 
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:356)
        at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:252)
        at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
        at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
        at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
        at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
        at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
        at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
        at 
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
        at 
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
        at 
org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)

The request handlers append the field Object's classname to its string value if 
it is from an unrecognized class, the attached patch should add java.util.UUID 
to the recognized classtypes for Solr's response handlers.
                
> Distributed Grouping fails if the uniqueKey is a UUID
> -----------------------------------------------------
>
>                 Key: SOLR-3073
>                 URL: https://issues.apache.org/jira/browse/SOLR-3073
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.5
>            Reporter: Devon Krisman
>            Priority: Minor
>             Fix For: 3.6
>
>         Attachments: SOLR-3073-3x.patch
>
>
> Attempting use distributed grouping (using a StrField as the group.fieldname) 
> with a UUID as the uniqueKey results in an error because the classname 
> (java.util.UUID) is prepended to the field value during the second phase of 
> the grouping.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Reply via email to