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:
<episerver.search active="true">
<namedIndexingServices defaultService="serviceName">
<services>
<add name="serviceName" baseUri="http://[server]/IndexingService/IndexingService.svc" accessKey="local" />
</services>
</namedIndexingServices>
<searchResultFilter defaultInclude="true">
<providers />
</searchResultFilter>
</episerver.search>
<system.serviceModel>
<serviceHostingEnvironment multipleSiteBindingsEnabled="true" />
</system.serviceModel>
<episerver.search.indexingservice>
<clients>
<add name="local" description="local" allowLocal="true" readonly="false" ipAddress="0.0.0.0/0" ip6Address="::/0" />
</clients>
<namedIndexes defaultIndex="default">
<indexes>
<add name="default" directoryPath="\\[server]\App_Data\Index" readonly="false" />
</indexes>
</namedIndexes>
</episerver.search.indexingservice>
Lucene can create its index files, but when we search we only get hits when we search for the page ids.
Regards,
Sunshine