on 2019 Oct 29 6:17 AM
Hi All,
when i am searching a keyword in search box , i am getting below error.Could you please help me to resolve the issue.
ERROR [hybrisHTTP13] [SolrSearchRequestResponsePopulator] Exception while executing SOLR search de.hybris.platform.solrfacetsearch.search.FacetSearchException: Error from server at https://localhost:8983/solr: Expected mime type application/octet-stream but got text/html. <h1>Bad Message 414</h1><pre>reason: URI Too Long</pre>
Request clarification before answering.
Hello ,
You will have to override the facet search strategy and change the method POST:
INSERT_UPDATE SolrServerConfig ;name[unique=true];solrQueryMethod
;$serverConfigName; POST
Do let me know if this resolves your issue.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You skipped mode(code); and to add (code) at the end of solrQueryMethod
INSERT_UPDATE SolrServerConfig; name[unique = true]; mode(code) ; solrQueryMethod(code);
; $serverConfigName ; standalone ; POST ;
Hi there,
One of my customer in APJ is currently experiencing the same issue on production, and we did the changed the solrQueryMethod to POST and tried to reindex or update the existing solr index, but it failed and gave the following stack trace :
Indexing failed 02.12.2020 07:21:24: ERROR: Caught throwable More than one active index found: {indexedType=SolrIndexedTypeModel (8796093089951@25), active=true, facetSearchConfig=SolrFacetSearchConfigModel (8796093089944@19)}
de.hybris.platform.servicelayer.exceptions.AmbiguousIdentifierException: More than one active index found: {indexedType=SolrIndexedTypeModel (8796093089951@25), active=true, facetSearchConfig=SolrFacetSearchConfigModel (8796093089944@19)}
at de.hybris.platform.servicelayer.util.ServicesUtil.validateSingleResultWithType(ServicesUtil.java:92)
at de.hybris.platform.servicelayer.util.ServicesUtil.validateIfSingleResult(ServicesUtil.java:47)
at de.hybris.platform.solrfacetsearch.daos.impl.DefaultSolrIndexDao.findActiveIndexByConfigAndType(DefaultSolrIndexDao.java:73)
at de.hybris.platform.solrfacetsearch.solr.impl.DefaultSolrIndexService.getActiveIndex(DefaultSolrIndexService.java:218)
at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.AbstractIndexerStrategy.resolveIndex(AbstractIndexerStrategy.java:206)
at de.hybris.platform.solrfacetsearch.indexer.strategies.impl.AbstractIndexerStrategy.execute(AbstractIndexerStrategy.java:108)
at de.hybris.platform.solrfacetsearch.indexer.impl.DefaultIndexerService.performFullIndex(DefaultIndexerService.java:68)
at de.hybris.platform.solrfacetsearch.indexer.cron.SolrIndexerJob.indexItems(SolrIndexerJob.java:78) ...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Make sure you have imported solr client configuration
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
19 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.