Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Cobollatin committed Nov 20, 2024
1 parent 0a2b4d2 commit a521a46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/src/functions/semantic-search-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export async function getSourceSemanticSearch(

if (enableSemanticSearch === "true") {
searchResults = await searchClient.search(query, {
includeTotalCount: true,
includeTotalCount: false,
select: ["Id", "Title", "Content", "Url"],
facets: ["Content"],
queryType: "semantic",
Expand Down Expand Up @@ -137,7 +137,7 @@ export async function getSourceSemanticSearch(
});
} else {
searchResults = await searchClient.search(query, {
includeTotalCount: true,
includeTotalCount: false,
select: ["Id", "Title", "Content", "Url"],
facets: ["Content"],
queryType: "full",
Expand Down

0 comments on commit a521a46

Please sign in to comment.