Clarify message about indexer being EE-only (#4613)

This commit is contained in:
wendrul
2024-11-01 01:06:17 +01:00
committed by GitHub
parent 8cd1df4dca
commit c75ad12d4f
+2 -1
View File
@@ -284,7 +284,8 @@ async fn windmill_main() -> anyhow::Result<()> {
tracing::info!("Binary is in 'indexer' mode");
#[cfg(not(feature = "tantivy"))]
{
panic!("Indexer mode requires the tantivy feature flag");
tracing::error!("Cannot start the indexer because tantivy is not included in this binary/image. Make sure you are using the EE image if you want to access the full text search features.");
panic!("Indexer mode requires compiling with the tantivy feature flag.");
}
#[cfg(feature = "tantivy")]
Mode::Indexer