Comments (14)
@shaunbyrnes I just realized what's most likely happening here.
It seems like as of May 10, 2023, there's a new review process when publishing new versions of Firebase extensions, and there's also new method to publish these versions that will trigger the review process.
When I published 1.0.1, I was unaware of this new mechanism and so I used an older method of publishing the extension, which bypasses the review mechanism, but the side-effect of this is that it doesn't update the latest version of the extension in the marketplace. So even though I published 1.0.1, since it was unreviewed, it wasn't considered as the latest version.
I suspect this is why the UI asked you to "update" to the latest marketplace version, which at this time is still 0.4.2.
I've now initiated the publishing + review process for 1.0.2, which once approved (hopefully in the next few business days according to Firebase), will then show up as the latest version in the marketplace.
from firestore-typesense-search.
Yeah, makes sense. Thanks for the info, will await the update getting approval.
from firestore-typesense-search.
Any news back from Google on the review process
from firestore-typesense-search.
Not yet, I've followed up with the team.
from firestore-typesense-search.
from firestore-typesense-search.
@shaunbyrnes Just got word that the latest version of the extension has been approved. Could you try upgrading to it now?
Hopefully it should now say the latest version is 1.0.2.
from firestore-typesense-search.
I think it's meant to say:
If you are running Typesense Server v0.24 or above, set “Flatten Nested Documents” to “No” (since indexing nested fields is natively supported in Typesense in these versions).
Am I correct?
from firestore-typesense-search.
You're right!
That was a copy-paste typo. I'll fix it now 🤦♂️
from firestore-typesense-search.
Ah thought so, haha all good :)
I am trying the update process on one of the extensions in Firebase, presumably it completes all good, then we would need to clear the docs from the collection in Typesense, then backfill it?
from firestore-typesense-search.
That's right, you would have to specifically create a new collection and backfill to that, and then switch over to it in your application and then delete the old one.
from firestore-typesense-search.
Ah, so we can't use the same Typesense collection that has already been created and just purge the documents in it?
from firestore-typesense-search.
Unfortunately no, because the collection schema doesn't get cleared out when you delete all documents. And 0.x version of the extension would have sent documents over in a flattened format which might have caused Typesense to generate a different schema that's now incompatible with the new unflattened version of the document generated by 1.x version of the extension.
from firestore-typesense-search.
Understand, makes sense, we will try deleting the collection and generate a new one, then advise how it goes. So far, the upgrade/update process to 1.0.2 worked without the glitching we had previously.
from firestore-typesense-search.
Looks like that is now all good!
If you can just leave case open for now, as this was our development environment and we still have to update on client, make sure everything is fine and then replicate in production.
from firestore-typesense-search.
Related Issues (20)
- Document flattening throws error with deeper nested structures HOT 2
- Return unflattened objects from search HOT 3
- `indexToTypesenseOnFirestoreWrite.js` does not delete documents when the docId has a hash `#` HOT 2
- Typesense v0.24.+ Nested fields support HOT 1
- Collections with ids that contain spaces cause errors in the emulated environment. HOT 1
- Add option to map field names
- Update documentation on how to contribute to this package
- Can we make most of the traffic go though a certan node? HOT 1
- Feature Request add collection parameter to indexed document to allo filtering
- Port selection
- Add support for multiple api keys HOT 1
- Support multiple collections HOT 2
- Support Node.js 18 HOT 6
- Function Names Generated by Typesense Extensions Are Too Long, Causing Setup Issues in Firebase Locally HOT 4
- Getting started with Cloud offering
- Filter records which are indexed HOT 1
- Fresh plugin installation fails with 401 - a valid `x-typesense-api-key` header must be sent. HOT 6
- Warning on deleted documents HOT 3
- Added field in under Extension configuration did not trigger Typesense update HOT 9
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 firestore-typesense-search.