Geodi Query API - Keyword Querying
Generating a Geodi Token is needed.
(!) QueryHandler.GetKeywords is a simplified service. With the geyKeywords api, you can take advantage of more features.
GetKeywords | |
|---|---|
Definition | Searches in documents in the Workspace and searched words. |
Request | [GEODIURL]/QueryHandler?op=GetKeywords&wsName=[WSNAME]&q=[SearchString]&startIndex=[StartIndex]&endIndex=[EndIndex]&options=[OptionsJSON]&UserSession=[TOKEN]
|
HttpMethod | GET, POST |
Expected Errors | 401 Unauthorized access / Access denied 403 Forbidden 511 Network Authentication Required 501 Server Error |
Returning Value | [
{
"KeywordID": 1,
"Keyword": "",
"Keyword_Extra": "",
"RecognizerID": 0,
"NumberOfOccurences": 1,
"GeoType": 0
}
] |
Examples | [GEODIURL]/QueryHandler?op=GetKeywords&wsName=PROJE&q=ankara&startIndex=0&endIndex=1
[
{
"KeywordID": 1,
"Keyword": "Ankara",
"Keyword_Extra": "",
"RecognizerID": -987,
"GeoType": 1
}
][GEODIURL]/QueryHandler?op=GetKeywords&wsName=PROJE&q=ankara&startIndex=0&endIndex=3&options={"LayerIDFilter":[-456]}
[
{
"KeywordID": 2,
"Keyword": "Ankara",
"Keyword_Extra": "",
"RecognizerID": -456,
"GeoType": 1
},
{
"KeywordID": 3,
"Keyword": "Ankara",
"Keyword_Extra": "",
"RecognizerID": -456,
"GeoType": 1
}, {
"KeywordID": 4,
"Keyword": "Ankara",
"Keyword_Extra": "",
"RecognizerID": -456,
"GeoType": 1
}
]
|
Example Applications | |