GET api/search?keyWord={keyWord}&lang={lang}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
keyWord | string |
Required |
|
lang | string |
None. |
Body Parameters
None.
Response Information
Resource Description
ResponseResultOfSolrSearchInfoName | Description | Type | Additional information |
---|---|---|---|
Data | SolrSearchInfo |
None. |
|
Message | string |
None. |
|
Status | integer |
None. |
|
Page | PageInfo |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": { "Titles": [ { "BlogId": 1, "Title": "sample string 2", "Url": "sample string 3" }, { "BlogId": 1, "Title": "sample string 2", "Url": "sample string 3" } ], "Contents": [ { "BlogId": 1, "Title": "sample string 2", "Url": "sample string 3" }, { "BlogId": 1, "Title": "sample string 2", "Url": "sample string 3" } ], "Locations": [ { "TagName": "sample string 1", "Title": "sample string 2", "Url": "sample string 3" }, { "TagName": "sample string 1", "Title": "sample string 2", "Url": "sample string 3" } ], "Tags": [ { "TagName": "sample string 1", "Title": "sample string 2", "Url": "sample string 3" }, { "TagName": "sample string 1", "Title": "sample string 2", "Url": "sample string 3" } ] }, "Message": "sample string 1", "Status": 2, "Page": { "PageIndex": 1, "PageTotal": 2, "DataTotal": 3, "PostSize": 4, "TagSize": 5, "ThemeSize": 6 } }
application/xml, text/xml
Sample:
<ResponseResultOfSolrSearchInfoqolmfCAu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BlogAdmin.Models"> <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/BlogAdmin.Models.Solr"> <d2p1:Contents> <d2p1:SolrInfo.BlogSearch> <d2p1:BlogId>1</d2p1:BlogId> <d2p1:Title>sample string 2</d2p1:Title> <d2p1:Url>sample string 3</d2p1:Url> </d2p1:SolrInfo.BlogSearch> <d2p1:SolrInfo.BlogSearch> <d2p1:BlogId>1</d2p1:BlogId> <d2p1:Title>sample string 2</d2p1:Title> <d2p1:Url>sample string 3</d2p1:Url> </d2p1:SolrInfo.BlogSearch> </d2p1:Contents> <d2p1:Locations> <d2p1:SolrInfo.LocationSearch> <d2p1:TagName>sample string 1</d2p1:TagName> <d2p1:Title>sample string 2</d2p1:Title> <d2p1:Url>sample string 3</d2p1:Url> </d2p1:SolrInfo.LocationSearch> <d2p1:SolrInfo.LocationSearch> <d2p1:TagName>sample string 1</d2p1:TagName> <d2p1:Title>sample string 2</d2p1:Title> <d2p1:Url>sample string 3</d2p1:Url> </d2p1:SolrInfo.LocationSearch> </d2p1:Locations> <d2p1:Tags> <d2p1:SolrInfo.TagSearch> <d2p1:TagName>sample string 1</d2p1:TagName> <d2p1:Title>sample string 2</d2p1:Title> <d2p1:Url>sample string 3</d2p1:Url> </d2p1:SolrInfo.TagSearch> <d2p1:SolrInfo.TagSearch> <d2p1:TagName>sample string 1</d2p1:TagName> <d2p1:Title>sample string 2</d2p1:Title> <d2p1:Url>sample string 3</d2p1:Url> </d2p1:SolrInfo.TagSearch> </d2p1:Tags> <d2p1:Titles> <d2p1:SolrInfo.BlogSearch> <d2p1:BlogId>1</d2p1:BlogId> <d2p1:Title>sample string 2</d2p1:Title> <d2p1:Url>sample string 3</d2p1:Url> </d2p1:SolrInfo.BlogSearch> <d2p1:SolrInfo.BlogSearch> <d2p1:BlogId>1</d2p1:BlogId> <d2p1:Title>sample string 2</d2p1:Title> <d2p1:Url>sample string 3</d2p1:Url> </d2p1:SolrInfo.BlogSearch> </d2p1:Titles> </Data> <Message>sample string 1</Message> <Page> <DataTotal>3</DataTotal> <PageIndex>1</PageIndex> <PageTotal>2</PageTotal> <PostSize>4</PostSize> <TagSize>5</TagSize> <ThemeSize>6</ThemeSize> </Page> <Status>2</Status> </ResponseResultOfSolrSearchInfoqolmfCAu>