Comments (3)
Yep! That would do it.
There are some tutorials out there on how to update/change mappings in Elasticsearch.
If your app is still in heavy development, my approach would be to blow out the existing index, insert a fully defined document, and reinsert everything into elasticsearch. But that's just me.
Here's a blog entry on changing the mapping:
https://www.elastic.co/blog/changing-mapping-with-zero-downtime
As this isn't a problem with the library in particular, I'll close this issue. If you end up having other problems with it, please let me know!
from elasticstore.
@alaindixon, thanks for using the library! Is your firestore document VDPUYRBpKg3sJO4nwMgd
conforming to the same types as the other documents in your collection?
Elasticsearch defines the mapping of an index based off the document it first receives (or the mapping you specify in the configuration). If it receives a document that does not conform to the existing type mapping, it will reject it. (i.e. trying to insert an Object
where a float
should be)
You can see a similar thread here: elastic/elasticsearch-py#579
from elasticstore.
Thank you for your very quick response, awesome.
Basically I could order several products, I've got a field "menuDetail", I think it was null in the first place.
What would you recommand?
from elasticstore.
Related Issues (20)
- Error in `FS_ADDED` handler [doc@h3XhjEJQJ4EZ6KXLSgIE]: illegal_argument_exception HOT 4
- How do you monitor multiple collections? HOT 1
- Mapping Date and excluding fields inside objects. HOT 2
- this.client.indices.exists returns a response object not a boolean HOT 2
- Mapping include_type_name should be removed at this point HOT 3
- [feature request] Add and allow option mapping dynamic mapping variable
- [feature request] parent-join, would need routing, parent/child, joins HOT 3
- Poor error handling when pushing data to same index, will throw already exists error. HOT 1
- What is onItemUpserted? HOT 1
- Update does not work HOT 1
- The datastore operation timed out, or the data was temporarily unavailable HOT 14
- index can't be a function
- Clusters HOT 3
- TypeError: Cannot read property 'request' of undefined at FirestoreCollectionHandler.existsApi HOT 11
- TypeError: Cannot read property 'onSnapshot' of undefined HOT 14
- Relationship data and foreign keys? HOT 12
- Add @nareddyt to contributors
- How to get the search text in builder? HOT 1
- How to use completion suggester HOT 1
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 elasticstore.