The installation file will contain 2 required folders.
panoRazzi.nopLunr –is to be put inside /Plugins folder as any other nopCommerce plugins.
nopLunr.Api –is to be setup as a separate website on the same server.
The reason why we need an extra nopLunr.Api instance is because the .Net / MVC version used by nopCommerce 4.20, 4.10, 4.00, 3.90 and before versions does not fully support the operations required by nopLunr.
nopLunr.Api is a very lightweight site, used just for indexing data and performing searches. Also, it requires .Net 6 to run, so make sure you install the Hosting Bundle runtime which can be downloaded here: https://dotnet.microsoft.com/en-us/download/dotnet/6.0
After finished the setup, Please make sure nopLunr.Api runs on port 7011 and can be accessed at localhost:7011 . On the server, you can run a test request using http://localhost:7011/test-connection?passcode=hello . If it returns “hello” that means the API instance can be accessed without issues.
Powered by BetterDocs