Fixed Semantic Search leaving out passages that did not fit into a search (#1167)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-05 16:02:59 +01:00
1 parent 0a178cb1a3
commit 7342c436dd
17 files changed
+1065 -111

No files matched your search

@@ -37,7 +37,9 @@ public interface IDataSource : IDataSourceBase
/// <remarks>
/// By default, as many pages as RetrievalPaging.GetLastPage allows for the page size. A data
/// source which cannot page that far says so itself. It is a method rather than a property, so
/// that it never ends up in the settings.
/// that it never ends up in the settings.<br/><br/>
/// These pages hold a number of matches each. Semantic Search cuts them into pages of its own,
/// by the length of the passages, see SemanticSearchTool.SearchAsync.
/// </remarks>
/// <returns>The number of the last page, which is at least 1.</returns>
public int GetLastPage() => RetrievalPaging.GetLastPage(this.MaxMatches);