Search Web Service

Request:

http://<openwebspider's server host:port>/search?q=<query>&t=json

Example:

http://127.0.0.1:9999/search?q=download+openwebspider&t=json

Response:

{
    "query": "download openwebspider",
    "results": [
        {
            "id": "82",
            "page": "www.openwebspider.org/download/",
            "title": " Download | openwebspider",
            "text": " Home News Documentation Download Screenshots License Support this Project openwebspider ...",
            "relevancy": 0.0911611
        }, 
        {
            "id": "68",
            "page": "www.openwebspider.org/download/download-older-versions/",
            "title": " Download Older versions | openwebspider",
            "text": " Home News Documentation Download Screenshots License Support this Project openwebspider ...",
            "relevancy": 0.010521
        }, 
        {
            "id": "28",
            "page": "www.openwebspider.org/screenshots/older-versions/",
            "title": " Older Versions | openwebspider",
            "text": " Home News Documentation Download Screenshots License Support this Project openwebspider ...",
            "relevancy": 0.0000168064
        }
    ]
}

See also: