How to use multiple DomainIDs in a query

Answered How to use multiple DomainIDs in a query

  • Monday, 13 February 2012 9:26 PM
     
     

    I am using the REST version of the API for Microsoft Academic Search

    It works well.

    Is there a way to select (using OR) multiple things in a search?

    • http://academic.research.microsoft.com/json.svc/search?AppId=Your_AppID&FullTextQuery= data+mining&ConferenceID=370&ResultObjects=Organization&StartIdx=1&EndIdx=10&Order By=CitationCount 

    Is an example search with AND but is there a way to do OR - specifically I need to OR together different DomainID - like the search interface has at the main MAS site, where users can pick multiple domains. 

    --Tom

All Replies

  • Monday, 20 February 2012 3:41 PM
    Owner
     
     Answered

    That is not currently supported in the API.  One approach is to make multiple API calls (one for each DomainID) and to union the results.  

    ---Alex