Yes, same exception when attempting to use group.main/query.

Error from server at null: java.lang.NullPointerException\n\tat
org.apache.solr.schema.FieldType.toExternal(FieldType.java:361)




On Wed, Dec 7, 2022 at 5:32 PM Mike Drob <md...@mdrob.com> wrote:

> Have you tried the group.main and group.query options?
>
> https://solr.apache.org/guide/8_11/result-grouping.html#grouping-examples
>
>
> On Wed, Dec 7, 2022 at 4:16 PM James Greene <ja...@jamesaustingreene.com>
> wrote:
>
> > Is the group=true functionality supposed to work in solrcloud 8.11?  I've
> > tried the most basic options and reconfigured schema using various
> > combinations of field types as well as index/stored/docvalues settings
> but
> > it always errors out with NullPointerException
> >
> > I've only been able to find this issue which seemed to be prematurely
> > closed (process over progress):
> > https://issues.apache.org/jira/browse/SOLR-15347
> >
> >
> > q=*:*&group=true&group.field=<any>
> >
> > coll1-1  | 2022-12-07 21:56:03.353 ERROR (qtp33233312-71) [c:coll1
> s:shard2
> > r:core_node4 x:coll1_shard2_replica_n2] o.a.s.h.RequestHandlerBase
> > org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException:
> > Error from server at null: java.lang.NullPointerException
> >
> > coll1-1  |  at
> > org.apache.solr.schema.FieldType.toExternal(FieldType.java:361)
> >
> > coll1-1  |  at
> >
> >
> org.apache.solr.search.grouping.distributed.shardresultserializer.TopGroupsResultTransformer.serializeTopGroups(TopGroupsResultTransformer.java:210)
> >
> > coll1-1  |  at
> >
> >
> org.apache.solr.search.grouping.distributed.shardresultserializer.TopGroupsResultTransformer.transform(TopGroupsResultTransformer.java:77)
> >
> > coll1-1  |  at
> >
> >
> org.apache.solr.search.grouping.distributed.shardresultserializer.TopGroupsResultTransformer.transform(TopGroupsResultTransformer.java:57)
> >
> > coll1-1  |  at
> >
> >
> org.apache.solr.search.grouping.CommandHandler.processResult(CommandHandler.java:223)
> >
> > coll1-1  |  at
> >
> >
> org.apache.solr.handler.component.QueryComponent.doProcessGroupedDistributedSearchSecondPhase(QueryComponent.java:1427)
> >
> > coll1-1  |  at
> >
> >
> org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:378)
> >
> > coll1-1  |  at
> >
> >
> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:369)
> >
> > coll1-1  |  at
> >
> >
> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:216)
> >
> > coll1-1  |  at org.apache.solr.core.SolrCore.execute(SolrCore.java:2637)
> >
> > coll1-1  |  at
> > org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:791)
> >
> > coll1-1  |  at
> > org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:564)
> >
> > coll1-1  |  at
> >
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:427)
> >
> > coll1-1  |  at
> >
> >
> org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:357)
> >
> > coll1-1  |  at
> > org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:201)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
> >
> > coll1-1  |  at
> >
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
> >
> > coll1-1  |  at
> >
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:600)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
> >
> > coll1-1  |  at
> > org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.handler.InetAccessHandler.handle(InetAccessHandler.java:177)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.rewrite.handler.RewriteHandler.handle(RewriteHandler.java:322)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:763)
> >
> > coll1-1  |  at
> >
> >
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
> >
>

Reply via email to