Lucene search results missing after azure deployment

2025/05/28 8:09 PM

I recently deployed my XbyK site to Azure. The Search worked fine locally but on the live site hosted in azure I am not getting any results. On my local version I noticed the search gen file is located in APP_Data folder named i-g0000001-p_True and has a lot of content, but on azure its i-g0000001-p_False, and the folder is empty. Locally, the indexes are auto generated as I publish pages. Why isn't this happening on azure? I appreciate any insight.


Environment

Answers

2025/05/28 8:39 PM
  1. Is your web crawler URL app setting configured correctly?

  2. Are you sure your index has the correct settings in the Xperience administration?

    1. Path, language, channel, indexing strategy, and analyzer?
  3. If you copy index files from your local environment to your Azure file system can you search them? If you do the opposite (Azure -> Local) can you search them?

  4. Are you using deployment slots in your App Service?

2025/05/29 1:55 PM

Thank you Sean. My issue was due to my limited understanding of the search since I didnt set it up, and the configuration even on my local was incorrect but since the files existed it worked.

Here were the problems:

  • In the Lucene search module, I didn't see the little arrow on the right indicating "rebuild"
  • Once I did click it, it would Queue 0 documents
  • My path was invalid (/pagename% instead of /pagename/%)
  • I did not have any page types selected for the path, as I assumed no selection meant all
2025/05/29 7:11 PM

Gotcha, makes sense.

If you run into other issues like this with our integrations you can use the example Dancing Goat project included with each integration to test out the code/appsettings configuration.

Additionally, each integration has a full Usage-Guide.md that covers configuration and customization options.

To answer this question, you have to login first.