Just like Firebase, I am a huge fan of the Algolia developer experience. My goal with this episode is to show how easy it is to build full-text search features when you combine Firestore with InstantsearchJS.
@archit76063 жыл бұрын
Please explain a more about ALGOLIA with Firebase
@klutch41984 жыл бұрын
For anyone following along after June of 2020, you'll want to fix/update a couple small things!! 1. import fix (was previously "import * as algoliasearch from 'algoliasearch';"): import algoliasearch from 'algoliasearch'; 2. Adding an object(was previously "addObject"): return index.saveObject({ objectId, ...data }); If you don't, Typescript will start bickering and eventually kick you outta the basement! AWESOME video, BTW!!!! I recently leveled up my Js skills to the next level (high level intermediate/low level advanced-ish?) due to an insane amount of practice.... and coming back to all these videos pretty much made me start throwing hadoukens because now I actually UNDERSTAND everything that's going on!! Keep crushing these videos and slinging emojis!!!
@drewmorrison23033 жыл бұрын
You are the best for this! Junior dev here and I had no clue how to fix this
@sveinsoermo98836 жыл бұрын
U'r videos are the best, structured, on target and high quality. This one, no exception.
@Fireship6 жыл бұрын
Thank you! really appreciate that feedback :)
@hojdog5 жыл бұрын
If algolia contains a copy of your database, can't it just function as a database of its own? It appears to have better query functionality than firebase so why wouldn't we just use this over firebase in the first place?
Just wanted to say thank you for all the great videos! your videos are extremely helpful and practical!
@frankellyguzman42972 жыл бұрын
you videos is always so epic. love this channel
@nthonymiller6 жыл бұрын
Great vid on Algolia, I've been thinking of adding it to my site, so timely.
@Fireship6 жыл бұрын
Thanks Anthony! I've used it in many projects, never been disappointed.
@Xinthose6 жыл бұрын
I love the Chance.js library.
@dislike__button4 жыл бұрын
Can't believe I have to use a third-party paid service for something as trivial as search. What a joke! Up to this point I was thinking about using Firestore in my project, but this turned me away instantly.
@lightlysaltedcalmingvlogsa72863 жыл бұрын
I agree it's ridiculous a company like Google doesn't provide search as a firebase service but if it was trivial their lack of search wouldn't be a reason to not use firebase.
@peerdox22756 жыл бұрын
Simply amazing!!!
@Fireship6 жыл бұрын
Thank you, Algolia makes it easy :)
@mohabmagdy41554 жыл бұрын
An important question here can we index subcollection data using Algolia ? I read on the internet blogs and found no answer please let me know if that is possible
@hartnil936 жыл бұрын
Great video, like always!
@Fireship6 жыл бұрын
Thank you Jacob!
@SamiullahKhan6 жыл бұрын
Don't we worried if our data is already stored in firebase (ofcourse it's our main data source) and that for indexing we are also storing all of it in algolia as well?
@colinwilliams32044 жыл бұрын
Great tutorial. Coding with react native but the firebase => GCF => algolia section of the video was a life saver. Minor change, I had an error with .addObject call, it should be .saveObject like the update function. Not sure if this was a breaking update since the creation of the video. Thanks!!
@juanleyva27776 жыл бұрын
We lose one of the most powerful feature of Firestore which is clientside database and able to listen to valuechanges(). Cant have the best of two worlds :(
@coreybeebe44816 жыл бұрын
One minor bug here: the `objectID` property used by Algolia is case-sensitive. The video uses `objectId`, which will create an extraneous property in addition to `objectID`, which will receive an automatically assigned value.
@BraxtonDiggs6 жыл бұрын
just ran into this issue!
@thomasstarzynski67873 жыл бұрын
true!
@carrillocarlosce6 жыл бұрын
Thanks man, this is gonna be useful for me right now
@Fireship6 жыл бұрын
Nice, Algolia can be a life saver.
@Smile-to2ii4 жыл бұрын
@@Fireship where is code?
@thomasstarzynski67873 жыл бұрын
I think there is newer syntax now, instead of 'addObject' there is 'saveObject'. And also it has to be 'objectID' and not 'objectId' I belive... (as Corey Beebe mentioned before). See documentation: www.algolia.com/doc/api-reference/api-methods/add-objects/?language=javascript
@juansebastiangomezrivera92193 жыл бұрын
Yes, it has to be 'objectID'
@danielschoenbohm3 жыл бұрын
Thanks man!
@CodeInspire6 жыл бұрын
you are an amazing teacher :)
@harpymaslow6 жыл бұрын
Great video as usual... as soon as I can I'll buy the Pro stuff. Thanks man
@khumozin6 жыл бұрын
Can you use Algolia with Ionic?
@jafar16076 жыл бұрын
To Test this function, a payed subscription to firebase is must. otherwise the cloud functions will fail indicating the external api access is not available for free tier. So sad.
@hojdog5 жыл бұрын
What a shame to have to pay real money for a service that makes your life easier. So sad.
@caseyschneider19745 жыл бұрын
It may have changed since you commented because this would be virtually free now to test
@narcodico6 жыл бұрын
Is your website search component something you've created or does it come as part of instantSearch ?
@Fireship6 жыл бұрын
It's mostly part of instantsearch, but with a few customizations.
@narcodico6 жыл бұрын
Thank you!
@ValAllenSamonte6 жыл бұрын
do you still need to setup the billing information for cloud functions to work with algolia?
@Fireship6 жыл бұрын
Yes, you do because it 's considered an outside API call.
@Kaze9192 жыл бұрын
Anyone know the point of the context variable? I get an lint error of " 17:19 error 'context' is defined but never used no-unused-vars" Obviously I understand it because I don't see it used anywhere so if anyone can explain how to ignore it or make the error go away that would be great
@d-apps26994 жыл бұрын
What about autocomplete search in Flutter, do you know if it's possible?
@pillar6programming6876 жыл бұрын
my man !
@MrYUPIYU6 жыл бұрын
Nice video, however, in 6:18 we can see your Application ID in the top left of the screen (or maybe it's not)
@Fireship6 жыл бұрын
The AppID and SearchOnly Key can be exposed - I don't actually need to blur them. It's only the Admin key that you have to be extra careful with because it has write access.
@MrYUPIYU6 жыл бұрын
Angular Firebase okay, thanks for let me know
@gautamkumar-rk6uv6 жыл бұрын
Its not cheap whats the cheap way , they are demanding minimum 35 dollars just for search, thats i think is overpriced. Is the other way like elastic search or may be like .startAt(query).endAt(query+"\uf8ff") i tried it but its only for realtime database , please help
@devcodic27755 жыл бұрын
They offer forever free service if you dont exceed the limit. discourse.algolia.com/t/playing-around-with-algolia-what-happen-after-14-days/5800/2 If you exceed within 10K records then your capable enough to pay for it. I think.
@devcodic27755 жыл бұрын
For those watching that is also coding along, you have to replace the 'objectId' with 'objectID' if adding data to algolia, to avoid problem with deletion of data.
@DelgadoRecords6 жыл бұрын
i want to integrate it, but with ionic, and it seems a little bit different.
@jafar16076 жыл бұрын
Can you please add another method other than using cloud function to index the data. coz the free firestore plan doesn't let to test this. any other way plz?
@MultiLenoxxx5 жыл бұрын
How expensive would this become??
@OPSergio886 жыл бұрын
shit, this service is so expensive... i just want develope a searcher for my free app...
@printfmit97446 жыл бұрын
why this video keep loading every several seconds?
@TimeoutMegagameplays5 жыл бұрын
Could you do a video showcasing this in Flutter?
@SondreSrbye6 жыл бұрын
👍
@dileepnagendra58696 жыл бұрын
bro, getting error in cloud function log . I am in fee plan of firebase
@patriciovargas38375 жыл бұрын
you need to jump to a paid plan. can be the blaze plan. You get charge for what you use, but you only get charged after you have exceed the things that are free
@AlexDuval5 жыл бұрын
@@patriciovargas3837 i waste one hour on it until, i read your com and make the upgrade, thank you so much
@patriciovargas38375 жыл бұрын
@@AlexDuval anytime!
@ownagejuice13946 жыл бұрын
what about us VueJS/Quasar users who don't Angular? :D
@Smile-to2ii4 жыл бұрын
where is code?
@byronglendon39475 жыл бұрын
Installing the JavaScript API client: $ npm install --save @types/algoliasearch
@juangamarra14636 жыл бұрын
Background sound please
@Fireship6 жыл бұрын
audiojungle.net/item/ambient-deep-loop/19729970
@Thesrik236 жыл бұрын
Hey Please do a video on Integrating Angular with Django