This is my query: facet=true&group=true&group.ngroups=true&group.field=product_id&group.facet=true&facet.field=category_id
Field def: <field name="product_id" type="tlong" indexed="true" stored="true" required= "true" /> <field name="category_id" type="tlong" indexed="true" stored="true" required ="false" multiValued="true"/> Tried adding both docvalues & without docvalues. Shards: 2 Has anyone else experienced this error? Thanks Thanks Jay Potharaju On Fri, Mar 16, 2018 at 2:20 PM, Jay Potharaju <jspothar...@gmail.com> wrote: > It looks like it was fixed as part of 6.6.3 : SOLR-6160 > <http://issues.apache.org/jira/browse/SOLR-6160>. > FYI: I have 2 shards in my test environment. > > > Thanks > Jay Potharaju > > > On Fri, Mar 16, 2018 at 2:07 PM, Jay Potharaju <jspothar...@gmail.com> > wrote: > >> Hi, >> I am running a simple query with group by & faceting. >> >> facet=true&group=true&group.facet=true&group.field=product_ >> id&group.ngroups=true&facet=true&facet.field=product_id&facet.mincount=1 >> >> >> When I run the query I get errors >> >> <lst name="error"> >> <lst name="metadata"> >> <str name="error-class">org.apache.solr.common.SolrException</str> >> <str name="root-error-class">java.lang.IllegalStateException</str> >> <str >> name="error-class">org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException</str> >> <str >> name="root-error-class">org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException</str> >> </lst> >> <str name="msg">Error from server at >> http://localhost:9223/solr/test2_shard2_replica1: Exception during >> facet.field: category_id</str> >> <str >> name="trace">org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: >> Error from server at http://localhost:9223/solr/test2_shard2_replica1: >> Exception during facet.field: category_id >> at >> org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:612) >> at >> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:279) >> at >> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:268) >> at org.apache.solr.client.solrj.SolrClient.request(SolrClient.java:1219) >> at >> org.apache.solr.handler.component.HttpShardHandler.lambda$submit$0(HttpShardHandler.java:163) >> at java.util.concurrent.FutureTask.run(FutureTask.java:266) >> at >> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) >> at java.util.concurrent.FutureTask.run(FutureTask.java:266) >> at >> com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176) >> at >> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) >> at java.lang.Thread.run(Thread.java:748) >> </str> >> <int name="code">500</int> >> >> >> The above query worked in solr 5.3. Any suggestions ? >> Thanks >> Jay Potharaju >> >> > >