Geodi Query API - Returning a Query Facet
Generating a Geodi Token is needed
GetFacet | |
|---|---|
Definition | Returns summary information of documents matching the query result. |
Request | [GEODIURL]/QueryHandler?op=GetFacet&q=[SearchString]&options=[OptionsJSON]&UserSession=[TOKEN]
|
HttpMethod | GET, POST |
Expected Errors | 401 Unauthorized access / Access denied 403 Forbidden 511 Network Authentication Required 501 Server Error |
Resulting value | {
"LastWSScanKey":"",
"TotalDocument":0,
"TotalDeletedDocument":0,
"TotalGeodiKeyword":0,
"TotalHasNote":0,
"FoundDocument":0,
"FoundGeodiKeyword":0,
"FoundDocLabel":0,
"FoundHasGeo":0,
"DocForEnumarator":{"":0},
"DocForRecongizer":{"":0},
"DocForContentType":{"":0}
}
|
Examples | //Request : [GEODIURL]/QueryHandler?op=GetFacet&wsName=PROJE&wsName=PROJE&q=ankara
{
"LastWSScanKey":"20.01.2017 00:00:00",
"TotalDocument":5,
"TotalDeletedDocument":0,
"TotalGeodiKeyword":400,
"TotalHasNote":0,
"FoundDocument":4,
"FoundGeodiKeyword":0,
"FoundDocLabel":0,
"FoundHasGeo":0,
"DocForEnumarator":{"-1234":4},
"DocForRecongizer":{"-2435":4,"-3456":4},
"DocForContentType":{"filecontent:.doc":2,"filecontent:.xls":1,"filecontent:.pdf":1}
} |
Example applications |
|