Class: LegalTaxonomyClientService
legal-taxonomy-cv-provider.LegalTaxonomyClientService
LegalTaxonomyClientService behaves as a special {@link ElasticClient}
built specifically to serve legal-taxonomy cv service provider
Hierarchy​
ElasticClient↳
LegalTaxonomyClientService
Constructors​
constructor​
• new LegalTaxonomyClientService(http, resourceGraphService, logger, optionsService)
Parameters​
| Name | Type |
|---|---|
http | HttpClient |
resourceGraphService | ResourceGraphService |
logger | Logger |
optionsService | LegalTaxonomyCvProviderOptionsService |
Overrides​
ElasticClient.constructor
Defined in​
libs/legi-shared/legal-taxonomy-cv-provider/services/legal-taxonomy-client.service.ts:25
Properties​
http​
• Protected http: HttpClient
Inherited from​
ElasticClient.http
logger​
• Protected logger: Logger
Inherited from​
ElasticClient.logger
resourceGraphService​
• Protected resourceGraphService: ResourceGraphService
Inherited from​
ElasticClient.resourceGraphService
Accessors​
apName​
• get apName(): string
Returns​
string
Overrides​
ElasticClient.apName
Defined in​
libs/legi-shared/legal-taxonomy-cv-provider/services/legal-taxonomy-client.service.ts:15
baseUrl​
• get baseUrl(): string
Returns​
string
Overrides​
ElasticClient.baseUrl
Defined in​
libs/legi-shared/legal-taxonomy-cv-provider/services/legal-taxonomy-client.service.ts:21
index​
• get index(): string
Returns​
string
Overrides​
ElasticClient.index
Defined in​
libs/legi-shared/legal-taxonomy-cv-provider/services/legal-taxonomy-client.service.ts:18
Methods​
getSearchUrl​
â–¸ Protected getSearchUrl(): string
Returns​
string
Inherited from​
ElasticClient.getSearchUrl
Defined in​
libs/elastic/src/lib/services/elastic-raw-client.service.ts:23
search​
â–¸ search<T>(query, options?): Observable<ElasticSearchResponse<T>>
Type parameters​
| Name | Type |
|---|---|
T | extends JsonModel |
Parameters​
| Name | Type |
|---|---|
query | Object |
options? | Object |
options.context? | HttpContext |
options.headers? | HttpHeaders | { [header: string]: string | string[]; } |
options.observe? | "body" |
options.params? | HttpParams | { [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>; } |
options.reportProgress? | boolean |
options.responseType? | "json" |
options.withCredentials? | boolean |
Returns​
Observable<ElasticSearchResponse<T>>
Inherited from​
ElasticClient.search
Defined in​
libs/elastic/src/lib/services/elastic-client.service.ts:19
searchOne​
â–¸ searchOne<T>(query, options?): Observable<T>
Type parameters​
| Name | Type |
|---|---|
T | extends JsonModel |
Parameters​
| Name | Type |
|---|---|
query | Object |
options? | Object |
options.context? | HttpContext |
options.headers? | HttpHeaders | { [header: string]: string | string[]; } |
options.observe? | "body" |
options.params? | HttpParams | { [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>; } |
options.reportProgress? | boolean |
options.responseType? | "json" |
options.withCredentials? | boolean |
Returns​
Observable<T>
Inherited from​
ElasticClient.searchOne
Defined in​
libs/elastic/src/lib/services/elastic-client.service.ts:26
searchOneRaw​
â–¸ searchOneRaw<T>(query, options?): Observable<T>
Type parameters​
| Name | Type |
|---|---|
T | ResourceGraphRaw |
Parameters​
| Name | Type |
|---|---|
query | Object |
options? | Object |
options.context? | HttpContext |
options.headers? | HttpHeaders | { [header: string]: string | string[]; } |
options.observe? | "body" |
options.params? | HttpParams | { [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>; } |
options.reportProgress? | boolean |
options.responseType? | "json" |
options.withCredentials? | boolean |
Returns​
Observable<T>
Inherited from​
ElasticClient.searchOneRaw
Defined in​
libs/elastic/src/lib/services/elastic-raw-client.service.ts:19
searchRaw​
â–¸ searchRaw<T>(query, options?): Observable<ElasticSearchResponse<T>>
Type parameters​
| Name | Type |
|---|---|
T | ResourceGraphRaw |
Parameters​
| Name | Type |
|---|---|
query | Object |
options? | Object |
options.context? | HttpContext |
options.headers? | HttpHeaders | { [header: string]: string | string[]; } |
options.observe? | "body" |
options.params? | HttpParams | { [param: string]: string | number | boolean | ReadonlyArray<string | number | boolean>; } |
options.reportProgress? | boolean |
options.responseType? | "json" |
options.withCredentials? | boolean |
Returns​
Observable<ElasticSearchResponse<T>>
Inherited from​
ElasticClient.searchRaw
Defined in​
libs/elastic/src/lib/services/elastic-raw-client.service.ts:15