post https://127.0.0.1:8443/rest/v2/api/add
| XML Tag/JSON key | Attribute | Value |
|---|---|---|
| searchblox | Licenseid | License value from license.xml file |
| apikey | API key from https://localhost:8443/console?page=admin&tab=license. | |
| document | colname | Name of the custom collection |
| document | Location | Value of file location (http://... or c:\documents...) |
| url | URL value to be returned with search results. | |
| uid | Assigned unique identifier for a document (the URL is used as uid when unassigned) | |
| title | Title value of search results. | |
| title | boost | Boost value range from 1-10 |
| keywords | Keyword value of document | |
| keywords | boost | Boost value range from 1-10 |
| content | Content of document | |
| content | boost | Boost value range from 1-10 |
| description | Description of search result | |
| description | Boost | Boost value ranage from 1-10 |
| lastmodified | Date in format 07 May 2015 06:19:42 GMT | |
| size | Size value | |
| alpha | Text value for sorting | |
| contenttype | Type of content value (HTML, PDF, etc..,) | |
| category | Value of category |
