To correct myself, querying "*" is allowed in the sense that asking for all fields is done by assigning "*" to the fl parameter.
So the problem is possibly not that "*" is requested, but that the star is used somewhere else, probably in the q parameter. We can help you better when you pass the full query string (if you're able to fetch it). -Michael Am 09.01.2018 um 16:38 schrieb Michael Kuhlmann: > First, you might want to index, but what Solr is executing here is a > search request. > > Second, you're querying for a dynamic field "*" which is not defined in > your schema. This is quite obvious, the exception says right this. > > So whatever is sending the query (some client, it seems) is doing the > wrong thing. Or your schema definition is not matching what the client > expects. > > Since we don't know what client code you're using, we can't tell more. > > -Michael > > > Am 09.01.2018 um 16:31 schrieb padmanabhan: >> I get the below error whenever an indexing is executed.. I didn't find enough >> clue on to where this field is coming from and how could i debug on to it.. >> any help would be appreciated >> >> 2018-01-09 16:03:11.705 INFO >> (searcherExecutor-51-thread-1-processing-x:master_backoffice_backoffice_product_default) >> [ x:master_backoffice_backoffice_product_default] >> o.a.s.c.QuerySenderListener QuerySenderListener sending requests to >> Searcher@232ae42b[master_backoffice_backoffice_product_default] >> main{ExitableDirectoryReader(UninvertingDirectoryReader(Uninverting(_1p(6.4.1):C56)))} >> 2018-01-09 16:03:11.705 ERROR >> (searcherExecutor-51-thread-1-processing-x:master_backoffice_backoffice_product_default) >> [ x:master_backoffice_backoffice_product_default] >> o.a.s.h.RequestHandlerBase org.apache.solr.common.SolrException: undefined >> field * >> at >> org.apache.solr.schema.IndexSchema.getDynamicFieldType(IndexSchema.java:1308) >> at >> org.apache.solr.schema.IndexSchema.getFieldType(IndexSchema.java:1260) >> at >> org.apache.solr.parser.SolrQueryParserBase.getWildcardQuery(SolrQueryParserBase.java:932) >> at >> org.apache.solr.parser.SolrQueryParserBase.handleBareTokenQuery(SolrQueryParserBase.java:616) >> at org.apache.solr.parser.QueryParser.Term(QueryParser.java:312) >> at org.apache.solr.parser.QueryParser.Clause(QueryParser.java:182) >> at org.apache.solr.parser.QueryParser.Query(QueryParser.java:102) >> at org.apache.solr.parser.QueryParser.TopLevelQuery(QueryParser.java:91) >> at >> org.apache.solr.parser.SolrQueryParserBase.parse(SolrQueryParserBase.java:194) >> at org.apache.solr.search.LuceneQParser.parse(LuceneQParser.java:50) >> at org.apache.solr.search.QParser.getQuery(QParser.java:168) >> at >> org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:160) >> at >> org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:269) >> at >> org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:166) >> at org.apache.solr.core.SolrCore.execute(SolrCore.java:2306) >> at >> org.apache.solr.core.QuerySenderListener.newSearcher(QuerySenderListener.java:72) >> at >> org.apache.solr.core.SolrCore.lambda$getSearcher$4(SolrCore.java:2094) >> at java.util.concurrent.FutureTask.run(FutureTask.java:266) >> at >> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:229) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >> at java.lang.Thread.run(Thread.java:748) >> >> 2018-01-09 16:03:11.705 INFO >> (searcherExecutor-51-thread-1-processing-x:master_backoffice_backoffice_product_default) >> [ x:master_backoffice_backoffice_product_default] o.a.s.c.S.Request >> [master_backoffice_backoffice_product_default] webapp=null path=null >> params={q=*:*%26facet%3Dtrue%26facet.field%3DcatalogVersion%26facet.field%3DcatalogId%26facet.field%3DapprovalStatus_string%26facet.field%3Dcategory_string_mv&distrib=false&event=newSearcher} >> status=400 QTime=0 >> >> >> >> >> -- >> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html >> >