cancel
Showing results for 
Search instead for 
Did you mean: 

solr indexing null pointer exception

Former Member
0 Kudos

Am doing full solrindexing in backoffice for my store, am getting this response

link text

May I know what's wrong in my solr.impex file...plz help..Thanks in Advance

P.S: plz find below the attached solr file Console shows this

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

My guess is the problem is more with your Solr indexer job configuration. You need to make sure that job has the correct facet search configuration name. This is usually set up during initialization by DefaultSetupSolrIndexerService.

Former Member
0 Kudos

Hi Matt, thanks for ur response.. Isn't there any way out from this scenario or should I stgain from beginning

Former Member
0 Kudos

Hi sanchez.. I thank u for ur reply..I shall brief u the clear scenario

 $prefix=hybris
 $productCatalog=$prefixProductCatalog
 $catalogVersions=catalogVersions(catalog(id),version);
 $serverConfigName=$prefixSolrServerConfig
 $indexConfigName=$prefixSolrIndexConfig
 $searchConfigName=$prefixPageSize
 $facetSearchConfigName=$prefixIndex
 $facetSearchConfigDescription=hybris Solr Index
 $searchIndexNamePrefix=$prefix
 $solrIndexedType=$prefixProductType
 $indexBaseSite=$prefix
 $indexLanguages=en,de
 $indexCurrencies=EUR,GBP,USD
 $priceRangeGBP=$prefixPriceRangeGBP
 $priceRangeEUR=$prefixPriceRangeEUR
 
 #
 # Setup the Solr server, indexer, and search configs
 #
 
 # Create the solr server configuration
 INSERT_UPDATE SolrServerConfig;name[unique=true];mode(code);embeddedMaster
 ;$serverConfigName;standalone;false;
  
 INSERT_UPDATE SolrEndpointUrl;solrServerConfig(name)[unique=true];url[unique=true];master[unique=true,default=false]
 ;$serverConfigName;http://localhost:8983/solr;true
 # Create the solr indexer configuration
 INSERT_UPDATE SolrIndexConfig;name[unique=true];batchSize;numberOfThreads;indexMode(code);
 ;$indexConfigName;100;1;TWO_PHASE;
 # Create the faceted search configuration
 INSERT_UPDATE SolrSearchConfig;description[unique=true];pageSize
 ;$searchConfigName;20
 
 #
 # Setup the indexed types, their properties, and the update queries
 #
 
 # Declare the indexed type Product
 INSERT_UPDATE SolrIndexedType;identifier[unique=true];type(code);variant;sorts(&sortRefID)
                              ;$solrIndexedType       ;Product   ;false  ;sortRef1,sortRef2,sortRef3,sortRef4,sortRef5,sortRef6
 INSERT_UPDATE SolrFacetSearchConfig;name[unique=true];description;indexNamePrefix;languages(isocode);currencies(isocode);solrServerConfig(name);solrSearchConfig(description);solrIndexConfig(name);solrIndexedTypes(identifier);enabledLanguageFallbackMechanism;$catalogVersions
                                    ;$facetSearchConfigName;$facetSearchConfigDescription;$searchIndexNamePrefix;$indexLanguages;$indexCurrencies;$serverConfigName;$searchConfigName;$indexConfigName;$solrIndexedType;true;$productCatalog:Online,$productCatalog:Staged
 UPDATE BaseSite;uid[unique=true];solrFacetSearchConfiguration(name)
                ;$indexBaseSite  ;$facetSearchConfigName
 

The error here is mainly bcoz facetsearchconfig and my backoffice looks like this

Hoping the info is suffice and looking forward for ur response

former_member66948
Participant
0 Kudos

It seems no related factSearchConfigure exist. you would need check in backoffice ->system->search and navigation to see what you have and what are missing.

Former Member
0 Kudos

Since more than 600 words aren't allowed in comment..I have replied in answer