lobid / lodmill

This repo is replaced by i.a. https://github.com/hbz/lobid-resources/
19 stars 8 forks source link

Missing subfield `x` for geographica #769

Closed acka47 closed 8 years ago

acka47 commented 8 years ago

From https://github.com/lobid/lodmill/issues/766#issuecomment-165767182

Examples:

HT017309948 (snippet):

<datafield tag="902" ind1="-" ind2="1">
  <subfield code="g">Haus Merfeld</subfield>
  <subfield code="h">Merfeld</subfield>
  <subfield code="x">Sankt Antonius Abt</subfield>
  <subfield code="9">(DE-588)7856043-3</subfield>
</datafield>

Current JSON (snippet):

{
    "@id" : "http://d-nb.info/gnd/7856043-3",
    "preferredName" : "Haus Merfeld, Merfeld",
    "preferredNameForThePlaceOrGeographicName" : "Haus Merfeld"
  }

Subfield x might also be repeated, see e.g. HT013925945 (snippet):

<datafield tag="902" ind1="-" ind2="1">
<subfield code="g">Bökenförde</subfield>
<subfield code="x">Schloss Schwarzenraben</subfield>
<subfield code="x">Sankt Antonius Abt</subfield>
<subfield code="9">(DE-588)7764102-4</subfield>
</datafield>

Current JSON:

{
    "@id" : "http://d-nb.info/gnd/7764102-4",
    "preferredName" : "Bökenförde",
    "preferredNameForThePlaceOrGeographicName" : "Bökenförde"
  }
dr0i commented 8 years ago

Deployed to small test staging to index 2.0, see e.g. http://gaia.hbz-nrw.de:9200/resources-staging/resource/HT013925945 and http://gaia.hbz-nrw.de:9200/resources-staging/resource/HT017309948

acka47 commented 8 years ago

+1

dr0i commented 8 years ago

Deployed to full index, closing.

dr0i commented 8 years ago

Data exists in index 2.0 at gaia. Now you can lookup that index to use the labels in the frontend.

fsteeg commented 8 years ago

Deployed to staging:

http://test.lobid.org/nwbib/HT017309948 http://test.lobid.org/nwbib/HT013925945

acka47 commented 8 years ago

+1