Box Search Metadata with optional filters
Hello,
We have created a metadata template which we will associate with documents that is supposed to aid with searching. The goal is to be able to enter keywords in the template fields so if any of the keywords are searched for, the document will be returned.
The issue I am facing right now is we are not just using 1 metadata field for these keywords. The keywords may be spread across multiple fields on the template. I was testing this out using the mdfilters parameter but once using this with multiple template fields, it expects that the search term must be in ALL template fields being searched on. Is there any way to specify the filters as being optional so the keyword only needs to exists in at least 1 of the template fields?
GET https://api.box.com/2.0/search?query=foo bar key1&mdfilters=[{"templateKey":"templateKey","scope":"enterprise","filters":{"keywords1":"foo bar key1","keywords2":"foo bar key1","keywords3":"foo bar key1"}}]
サインインしてコメントを残してください。
コメント
0件のコメント