: Might be the case as you mentioned Shawn. But there are no search requests
: triggered and might be that somehow a search query is getting fired to Solr
: end while indexing. Given the complete log information(solr.log) while the
: indexing is triggered.

the search request is triggered by a "newSearcher" cache warming query -- 
solr explicitly adds an "event=newSearcher" param so it shows up right 
there in the log for the query that's failing...

: 
(searcherExecutor-46-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

You probably have something like this in your solrconfig.xml...

    <listener event="newSearcher" class="solr.QuerySenderListener">
      <arr name="queries">
          <lst> 
             <str name="q">*:*&amp;facet=true&amp;...</str>
          ...

When what you should have is sometihng like...

    <listener event="newSearcher" class="solr.QuerySenderListener">
      <arr name="queries">
          <lst> 
             <str name="q">*:*</str>
             <str name="facet">true</str>
             ...

https://lucene.apache.org/solr/guide/7_2/query-settings-in-solrconfig.html#QuerySettingsinSolrConfig-Query-RelatedListeners



-Hoss
http://www.lucidworks.com/

Reply via email to