0

How do you correctly structure a Keyword query with two or more variables?

<Query>
    <Context>
        <QueryText type="STRING">Path:/sitename/libraryname AND CONTAINS(taco)</QueryText>
    </Context>
    ....
    ....

I'm trying to search a given library for a string of text.

0

Got it to work:

<Query>
<Context>
    <QueryText type="STRING">taco AND path:https://sharepoint/sites/sitename/libraryname</QueryText>
</Context>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.