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.

1 Answer 1

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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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