Giter VIP home page Giter VIP logo

Comments (14)

jasonbosco avatar jasonbosco commented on June 23, 2024

@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.

shaunbyrnes avatar shaunbyrnes commented on June 23, 2024

Yeah, makes sense. Thanks for the info, will await the update getting approval.

from firestore-typesense-search.

shaunbyrnes avatar shaunbyrnes commented on June 23, 2024

Any news back from Google on the review process

from firestore-typesense-search.

jasonbosco avatar jasonbosco commented on June 23, 2024

Not yet, I've followed up with the team.

from firestore-typesense-search.

shaunbyrnes avatar shaunbyrnes commented on June 23, 2024

from firestore-typesense-search.

jasonbosco avatar jasonbosco commented on June 23, 2024

@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.

shaunbyrnes avatar shaunbyrnes commented on June 23, 2024

Screenshot 2023-05-19 at 10 38 35 am

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.

jasonbosco avatar jasonbosco commented on June 23, 2024

You're right!

That was a copy-paste typo. I'll fix it now 🤦‍♂️

from firestore-typesense-search.

shaunbyrnes avatar shaunbyrnes commented on June 23, 2024

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.

jasonbosco avatar jasonbosco commented on June 23, 2024

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.

shaunbyrnes avatar shaunbyrnes commented on June 23, 2024

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.

jasonbosco avatar jasonbosco commented on June 23, 2024

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.

shaunbyrnes avatar shaunbyrnes commented on June 23, 2024

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.

shaunbyrnes avatar shaunbyrnes commented on June 23, 2024

Looks like that is now all good!
Screenshot 2023-05-19 at 5 24 58 pm
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.