SearchClient¶
-
public class
SearchClient
¶ Client for TG-Search
Author: Ubbo Veentjer See also: TG-Search documentation
Constructors¶
SearchClient¶
-
public
SearchClient
(String endpoint)¶ Setup the tgsearch client As endpoint the
DEFAULT_PUBLIC_ENDPOINT
andDEFAULT_NONPUBLIC_ENDPOINT
may be used to work with the textgrid production system textgridlab.orgParameters: - endpoint –
- the http(s) url of tgsearch service
- endpoint –
Methods¶
enableGzipCompression¶
-
public SearchClient
enableGzipCompression
()¶ Turn on GZIP compression for communication with service
facetQuery¶
-
public FacetQueryBuilder
facetQuery
()¶ Prepare a FacetQuery with TG-Search
See also: Search Query API
infoQuery¶
-
public InfoQuery
infoQuery
()¶ Prepare a InfoQuery with TG-Search
See also: Search Query API
relationQuery¶
-
public RelationQuery
relationQuery
()¶ Prepare a RelationQuery with TG-Search
See also: Search Query API
searchQuery¶
-
public SearchQueryBuilder
searchQuery
()¶ Prepare a SearchQuery with TG-Search
See also: Search Query API