Starting of conversion to OpenSearch

This commit is contained in:
Porras-Bernardez 2024-05-13 16:56:15 +02:00
parent 515ef24c54
commit fab69f496b
7 changed files with 54 additions and 2 deletions

View file

@ -7,6 +7,14 @@ export interface SolrResponse {
// facet_counts: FacetCount;
}
// OPENSEARCH
export interface OpenResponse {
responseHeader: ResponseHeader;
response: ResponseContent;
facets: FacetFields;
// facet_counts: FacetCount;
}
export interface ResponseHeader {
status: boolean;
QTime: number;

View file

@ -3,6 +3,11 @@ export interface SolrSettings {
host: string;
}
export interface OpenSettings {
core: string;
host: string;
}
export class ActiveFilterCategories {
// count: number;
// language!: Array<string>;