在Sharepoint 2013中,使用搜索REST API;我可以用path
在querytext
查詢標籤得到一個結果,就像這樣:用於查詢標記的多變量Sharepoint REST查詢
http://host/_api/search/query?querytext='path=http://host/site/pages/index.aspx'
的問題是,我需要多個條件path
得到兩個結果:
path='http://host/site/pages/index.aspx'
和path='http://host/site/pages/someother.aspx'
我試過以下的sytax例子,但無法設法得到結果:
..query?querytext='path=path1,path2'
..query?querytext='path=path1;path2'
..query?querytext='path=path1,path=path2'
..query?querytext='path=path1 or path2'
..query?querytext='path=((path1)or(path2))'
..query?querytext='path=path1'&querytext='path=path2'
,最可能還有更多。
在此先感謝。