Try our conversational search powered by Generative AI!

IndexingService configurations

Vote:
 

Hi,

Anyone that knows how to configure IndexingService? 

We are trying to make it work in a load balanced environment. It worked fine in the load balanced test environment but in production environment we got these errors in the log file.

EPiServer.Search.Internal.RequestQueueHandler: RequestQueue failed to retrieve unprocessed queue items. Message: Object reference not set to an instance of an object.
Stacktrace: at EPiServer.Search.Data.Internal.SearchFactory.ConstructSyndicationItem(IndexRequestQueueItem queueItem)
at EPiServer.Search.Data.Internal.SearchFactory.GetUnprocessedQueueItems(String namedIndexingService, Int32 pageSize, Collection`1& ids)
at EPiServer.Search.Internal.RequestQueueHandler.ProcessQueue()

There is a table called "tblIndexRequestLog" but is empty, perhaps thats how it should be?

When we clicked on the reindex button on this page /episerver/CMS/Admin/IndexContent.aspx we got these errors. 

EPiServer.Search.IndexingService.IndexingService: Reset of index: '' failed. Index not found!

EPiServer.Search.Internal.RequestHandler: Could not reset index '' for service uri 'http://[server]/IndexingService/IndexingService.svc/reset/?namedindex=&accesskey=local'. Message: The remote server returned an error: (500) Internal Server Error. at System.Net.HttpWebRequest.GetResponse()
at System.Net.HttpWebRequest.GetResponse()
at EPiServer.Search.Internal.RequestHandler.MakeHttpRequest(String url, IndexingServiceReference indexingServiceReference, String method, Stream postData, Action`1 responseHandler)
at EPiServer.Search.Internal.RequestHandler.ResetIndex(String namedIndexingService, String namedIndex)

Our configuration:


 
   
     
   

 

 
   
 


 


 
   
 

 
   
     
   

 

Lucene can create its index files, but when we search we only get hits when we search for the page ids.

Regards,

Sunshine

#197107
Sep 21, 2018 17:00
Vote:
 

You should replace the placeholder [server] in your configuration with proper values. The first occurance (in the base uri) should be the ip/domain name of your site hosting the indexing service. The seond occurance (the directory path) should be the name of the folder that will contain your search index.

#197128
Sep 24, 2018 14:21
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.