Comments (1)
@pa-w I set up the new Elasticsearch replicator to migrate this column over.
curl -i 'localhost:9200/image/_search?q=pg_id:9619372&pretty=true'
...
...
"foreign_landing_url": "http:\/\/www.metmuseum.org\/art\/collection\/search\/71211",
"removed_from_source": false,
"meta_data": {
"date": "18th century",
"image": "http:\/\/images.metmuseum.org\/CRDImages\/as\/web-large\/DP15698.jpg",
"title": "Piece",
"medium": "Silk \/ Compound weave",
"period": "Edo period (1615\\u20131868)",
"source": "http:\/\/www.metmuseum.org\/art\/collection\/search\/71211",
"culture": "Japan",
"license": "\/publicdomain\/zero\/1.0\/",
"date_era": "A.D. 1600\\u20131800",
"dimensions": "6 1\/2 \\xd7 1 1\/8 in. (16.5 \\xd7 2.9 cm)",
"credit_line": "Gift of Kihei Hattori, in memory of his father, Kihei Hattori, 1920",
"description": "",
"classification": "Textiles-Woven",
"accession_number": "20.148.222",
"geographic_location": "Asia,Japan",
"object_type_material": "Silk,Textiles,Woven"
}
...
...
This should let you query documents by century like you wanted, with the caveat that there is no standardization on the date format (e.g. this example has "date": "18th century"
but others instead have ca.1715
or late 13th\\u201314th century
). The best way to address that is probably to clean it up and standardize it somewhere in the ETL pipeline before it ends up in Postgres.
I still need to stand up the replicator in our staging environment, so you won't see these changes quite yet.
from cccatalog-api.
Related Issues (20)
- Issues with results when page count gets high HOT 4
- [Feature] Metadata to classify providers HOT 2
- Switch to English language analyzer HOT 2
- Use size and compression as metrics
- Take min(popularity, authority) for boosting purposes HOT 1
- Concisely describe the bug
- [x] I would be interested in implementing this feature.
- Hi @aldenstpage thanks for your reply, can you reference me to which issue i could easily pickup then :)
- Invalidate filter cache after updates to content provider table HOT 15
- Send crawled images to be processed by AWS Rekognition HOT 3
- Sunset API v0
- EOL as a source? HOT 2
- Filtered sources still appear in image recommendations
- /v1/thumbs should time out eventually HOT 3
- Source parameter returns InputError HOT 5
- Invalid sources should be ignored instead of a fatal 400 error HOT 6
- Deduplicate attribution events in analytics database HOT 1
- Research for Audio APIs HOT 3
- HTTP2_PROTOCOL_ERROR when trying to load images HOT 10
- Error formatting issue HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cccatalog-api.