Added file patterns and exclusions to folder data sources (#1057)

Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
Paul KoudelkaandThorsten Sommer authored and GitHub committed 2026-10-17 19:12:43 +02:00
1 parent 249fc778a2
commit 031874cebf
75 files changed
+4808 -589

No files matched your search

@@ -47,7 +47,7 @@ public sealed partial class DataSourceEmbeddingService
#endregion
/// <summary>
/// Stops every active run which works for embedding settings which no longer apply.
/// Stops every active run which works for embedding settings or a selection of documents which no longer apply.
/// </summary>
/// <remarks>
/// Reads no database, because it runs on every change of a setting anywhere in the app. A run
@@ -110,6 +110,10 @@ public sealed partial class DataSourceEmbeddingService
if (!indexStore.IsAvailable)
return;
//
// The embedding signature alone: another selection leaves the stored index valid, and
// the next ordinary run adds and removes the documents.
//
var indexState = await indexStore.GetDataSourceStateAsync(dataSource.Id, CancellationToken.None);
if (string.Equals(indexState?.EmbeddingSignature, currentRunSignature.EmbeddingSignature, StringComparison.Ordinal))
continue;