OK, I figured this out. When I created the cores, I incorrectly set the dataDir 
property values. That put a bad dataDir value in the core.properties file 
associated with each core, and so each time the server started it looked for 
data in the wrong place. Removing the incorrect value and re-indexing the 
content has solved the problem, and data persists across server restarts.

-----Original Message-----
From: Scott Hollenbeck <s...@musclecarresearch.com> 
Sent: Wednesday, November 1, 2023 2:11 PM
To: 'users@solr.apache.org' <users@solr.apache.org>
Subject: RE: Indexed Content Lost on Restart

I'm unsure. I queue the content for indexing and rebuild the indexes using the 
Drupal "Search API Solr" module. It does appear that the module is aware of 
concept, though:

https://www.drupal.org/node/2009804#server-index-status

-----Original Message-----
From: matthew sporleder <msporle...@gmail.com> 
Sent: Wednesday, November 1, 2023 1:47 PM
To: users@solr.apache.org
Subject: Re: Indexed Content Lost on Restart

Do you commit?

On Wed, Nov 1, 2023 at 1:40 PM Scott Hollenbeck
<s...@musclecarresearch.com.invalid> wrote:
>
> I'm running a single instance of Solr 9.4.0. I've noticed that when the solr
> service is restarted, or when the server is rebooted and the service starts,
> the indexed content seems to disappear from my solr cores and needs to be
> re-indexed. This wasn't happening when running Solr 8.x, and I'm not sure
> what's changed. Do I need to do something differently when the service is
> started, or perhaps change some configuration value to index the content
> when the service starts?
>
> Thank you...
>

Reply via email to