November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Hi Fredrik,
The recommended approach for search when hosting in azure would be to use 'Search and Navigation'.
You can grab a developer index for local development or if you are already using DXP then you will have been provided a development index as part of the setup process.
Would this be an option for you?
Thanks
Paul
Business is not keen on starting to pay extra for an internal only CMS search used by editors. So that is not an option currently.
We already use Elastic and Algolia for customer searches.
Hi Fredrick,
Just maybe something to try quicking to see if it helps:
I've done that, the files are properly created and the tblIndexRequestLog count is 0.
It doesn't work locally either, hosting in IIS.
I'm now looking into creating a custom provider inheriting from PageSearchProvider and use our Elastic index instead, is this possible with CMS11?
Hi Fredrick,
Yes it is, and a better approach as you are then only concerned with your elastic search index.
The documentation is the same for CMS 11 as is for CMS 12 - Add search providers (optimizely.com)
The only thing to possibly look out for is that you are potentially only searching pages, what about blocks, images, pdfs, etc?
Epinova already has an elastic search implementation https://github.com/Epinova/Epinova.Elasticsearch
Inside GetSearchResults method in RequestHandler I get a timeout on this call:
Edit:
It works locally for new pages and if I edit and re-publish an old page, but searching by name only works for these pages.
Could it be becuase of the minor update that there is some assembly diff between the old pages and the newly created/published?
An update.
I have successfully indexed in Azure and I can search for Media and Blocks by name.
However, pages still doesn't work besides searching by ID, I've tried name and by * without any luck.
The call to WCF service https://subdomain.domain.net/IndexingService/IndexingService.svc/search/?q= returns a 500 status code in the logs.
Any ideas?
Hi Fredrik
Do you have access to the logs for the IndexingService service? If you run it locally, does it throw exceptions on searching?
Sorry for the late response, I've been on vacation and after that I've had other priorities. I'm ready to do some further debugging now.
I can see the IIS Detail error from Azure, but it doesn't give much information:
However the base request url is a bit odd, it's not the same that is used in the Web.config for the namedIndexingServices, it's the Azure app service domain.
I have no errors locally as the indexing works there. It doesn't work from Azure.
Edit:
In our test environment I can see a different error, we get a 403 on POST /IndexingService/IndexingService.svc.
In our production environment we get a 401 to https://domain.test.se/IndexingService/IndexingService.svc/update/?accesskey=123
Browsing the pages works fine:
Here is the call in Azure, I don't get any further details as of why it gets 403.
The table [tblIndexRequestLog] is filled with data, but the queue remains full. The Index folder is also not created in App_Data when I browse kudu in Azure.
We updated one of our CMS site to the latest .NET Framework version in preperations to later migrate over to ASP.NET Core and CMS 12.x.
These are the packages we updated:
We are hosting the application in Azure on a single instance and have previously used the EpiServer Search with IndexingService.svc, this has now stopped working.
Searching by ID works, but not searching by page name or other attributes.
Here is our Web.Config configurations: