Questions tagged [microsoft-search-api]
4 questions
1
vote
1 answer
SearchAlterationOptions in a Microsoft Graph Search Request not working
I'm trying to add logic to my c# function app that does something similar to this test query I tried in Graph Explorer:
This is the response I get back (notice that it automatically fixed my typo and ran the search)
I'm trying to do this…

dot
- 14,928
- 41
- 110
- 218
0
votes
0 answers
MS Graph Search/Query calls missing all my fields
I've been testing / playing around with the following code for the past few days now and it used to return all the fields I explicitly request. But now I only get back title, author, and url. All the "ids" are missing.
I haven’t changed anything…

dot
- 14,928
- 41
- 110
- 218
0
votes
1 answer
MS Search API: how to limit the number of matches to just the top X results?
How do I limit the number of results coming back from the MS Search Api? Here's what the code looks like:
public async Task Search()
{
var ApplicationClientID = Environment.GetEnvironmentVariable("CLIENT_ID");
var…

dot
- 14,928
- 41
- 110
- 218
0
votes
1 answer
MS Search API: How to limit scope to just ms word or pdf documents
Background
I'm writing logic that uses the Microsoft search api to find sharepoint documentation that matches a query. (using both phrase searches and keywords)
Problem
There are two issues:
It seems that I'm getting back more than just sharepoint…

dot
- 14,928
- 41
- 110
- 218