We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 487f234 commit cd87171Copy full SHA for cd87171
src/Azure.AISearch.WebApp/Services/AzureCognitiveSearchService.cs
@@ -1,6 +1,7 @@
1
using Azure.AISearch.WebApp.Models;
2
using Azure.Search.Documents;
3
using Azure.Search.Documents.Models;
4
+using System.Text.RegularExpressions;
5
6
namespace Azure.AISearch.WebApp.Services;
7
@@ -188,7 +189,7 @@ private SearchResult GetSearchResultForChunksIndex(SearchResult<SearchDocument>
188
189
var match = Regex.Match(searchResult.DocumentPage, @"#page=(\d+)");
190
if (match.Success)
191
{
- searchResult.DocumentPage = match.Groups[1].Value;
192
+ searchResult.DocumentPage = match.Groups[1].Value;
193
}
194
195
// Add to source URL
0 commit comments