Lucene Index on S3

Vote:
 

Hi,

We have a load balanced Episerver 9 Commerce solution on Amazon, hosted on individual EC2 servers, 2 frontend instances and 1 authoring instance. Authoring instance is generating the full text indexes and save it to the file system which is shared between the 2 frontend instances.

Would it be possible to save the full text indexes to an S3 bucket and the frontend instances read from there instead on relying on a shared folder on the filesystem?

Is there any example I could use to implement this behaviour? Is it advisable to do it this way?

#226045
Edited, Aug 02, 2020 23:20
Vote:
 

Hi Laszlo

This is not supported for Amazon. You might want to consider using Episerver Search & Navigation (formerly Episerver Find).

Or, if you are up for a challenge, you can build a provider that emulates how the LuceneAzureSearchProvider does what you need (although it's made for Azure).

#226052
Aug 03, 2020 8:14
Vote:
 

The default LuceneSearchProvider relies on the file system, so that does not work. Implementation of LuceneAzureSearchProvider is supported by https://github.com/azure-contrib/AzureDirectory which greatly simplifies reading/writing to blob storage 

It seems you can try this out, but there is no guarantee that it'll work 

https://archive.codeplex.com/?p=lucenenets3

#226054
Aug 03, 2020 9:54
* 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.