I am attempting to build a powerapp on top of a sharepoint list that can do both full text searching of documents and filter by metadata in the document library.
I am currently stuck on being able to search by the contents of documents in the library. I am able to search for documents via the UI, but cannot do so via the API.
My URL in the UI looks like so : https://XXX.sharepoint.com/sites/TestSite/Test%20Library/Forms/AllItems.aspx?view=7&q=banana
Where I have a word document with the text "banana" inside of it.
This returns without issue. I assumed that I could do the following to atleast search everywhere for the word banana within my site (Before narrowing it down to my document library).
However this never returns any results (Although it does return a huge XML document).
If I search for my name, I do get results back because I presume it's returning users and other metadata related to my profile, but for the life of me I cannot seem to get document library full text search working through the API.