- npm update

- additional factes: year and author
This commit is contained in:
Arno Kaimbacher 2022-10-03 14:28:12 +02:00
parent f749b2eb3e
commit 2f690f5bf2
2 changed files with 553 additions and 518 deletions

1067
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -137,7 +137,9 @@ class DatasetService {
facet: "on", facet: "on",
// "facet.field": "language", // "facet.field": "language",
"json.facet.language": '{ type: "terms", field: "language" }', "json.facet.language": '{ type: "terms", field: "language" }',
"json.facet.subject": '{ type: "terms", field: "subject" }', "json.facet.subject": '{ type: "terms", field: "subject", limit: -1 }',
"json.facet.year": '{ type: "terms", field: "year" }',
"json.facet.author": '{ type: "terms", field: "author_facet", limit: -1 }',
}; };
const stations = api.get<SolrResponse>(base, q_params); const stations = api.get<SolrResponse>(base, q_params);