-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Elasticsearch 7.x #30
Comments
Hi, we are aware of this issue and will release an update with es7+ support soon. |
Running
Is there any monkey patching? yaml file is store:
search:
package: ElasticSearch
options:
client: 7_0::Direct
index_name: catalogcolectiv
bags:
mappings:
properties:
title:
type: text
creator:
type: text
publisher:
type: text
description:
type: text
identifier:
type: keyword
cql_mapping:
indexes:
title:
op:
'any': true
'all': true
'=': true
'<>': true
'exact':
field: [ 'mytitle.exact' , 'myalttitle.exact' ]
field: mytitle
sort: true
cb: [ 'Biblio::Search' , 'normalize_title' ] Data sample: [
{
"identifier": "094.1(498); 811.135.1'36-112",
"_id": null,
"date": "1805",
"format": "110 p. ; 19 cm",
"publisher": "Typis Regiae Universitatis Pestanae",
"subject": ["carte românească veche", "lingvistică", "limba română", "gramatică", "gramatică istorică", "morfologie"],
"creator": ["Şincai, Gheorghe"],
"title": "Elementa Linguae Daco - Romanae sive Valachicae emendata, facilitata, et in meliorem ordinem redacta per Georgium Sinkay de Eadem, AA. LL. Philosophiae, & SS. Theologiae Doctorem, Scholarum Nationalium Valachicarum in Magno Transylvaniae Principatu primum, atque emeritum Directorem, nunc penes Regiam Universitatis Pestanae Typographiam Typi Correctorem. Budae, Typis Regiae Universitatis Pestanae. 1805. Georgium Sinkai [Carte tipărită]",
"description": "Colecţii Speciale - BRV BRV101 687a BRV BRV101"
}, {
"date": "1737",
"format": "[8] p., 48 p. ; 23 cm",
"_id": null,
"identifier": "271.3(094)(498.4); 094.1(498.4)",
"description": "Colecţii Speciale - Transilvanice T00156 448 T1 T00156",
"title": "Ortus, Progressus, Vicissitudines, Excisio, et Restauratio, olim custodiae, nunc ab anno M. DCC. XXIX. Provinciae Transylvaniae Ord. Min. S. P. N. Francisci Strict Observ. Tituli S. Regis Stephani ex Gravissimis, Fideque dignis Authoritatibus clara, ac succinta methodo compilatus, primum in Urbe Orbis capite revisus, castigatus, approbatus, et excusus Typis Reverendae Camerae Apostolicae. eX Vrbe septICoLLe ReDVX oMIne FaVsto Hac secunda editione sub Gratiosissimus auspiciis [...] domini Joannis Haller ... [Györffi Pál] ; Editor: Joannis Haller [Carte tipărită]",
"creator": ["Györffi Pal"],
"subject": ["istoria Transilvaniei", "Transilvanice", "ordine călugăreşti", "franciscani", "biserica catolica", "ordine religioase"],
"publisher": "Typis Ven. Conventus Csikiensis"
}
] |
Hi @kosson @jorol @mmcinnes-beyondtechnology I - finally - added es7 support. Could you help out testing the code in the es7 branch against a version 7 server? You can load the unpublished code like so: |
No avail here. Command: Output:
|
I've installed Elasticsearch 7.10.2 and your branch 'es7' on a test machine. I've got the following error while testing:
|
Elasticsearch 7.x moves away from document types so the structure of requests to ES7 fail using 1.0202.
The following command results in a failure (below):
The same URL structure is built for all calls which assumes the index and document type need to be passed to ES (which was deprecated in v7). See https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html
The text was updated successfully, but these errors were encountered: