Algolia Firestore Instant Search

  Рет қаралды 49,296

Fireship

Fireship

Күн бұрын

Пікірлер: 73
@Fireship
@Fireship 6 жыл бұрын
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.
@archit7606
@archit7606 3 жыл бұрын
Please explain a more about ALGOLIA with Firebase
@klutch4198
@klutch4198 4 жыл бұрын
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!!!
@drewmorrison2303
@drewmorrison2303 3 жыл бұрын
You are the best for this! Junior dev here and I had no clue how to fix this
@sveinsoermo9883
@sveinsoermo9883 6 жыл бұрын
U'r videos are the best, structured, on target and high quality. This one, no exception.
@Fireship
@Fireship 6 жыл бұрын
Thank you! really appreciate that feedback :)
@hojdog
@hojdog 5 жыл бұрын
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?
@filipcoja
@filipcoja 5 жыл бұрын
+
@caseyschneider1974
@caseyschneider1974 5 жыл бұрын
Firebase pricing is better. Firebase document read $0.06/100K, write $0.18/100k. Algolia 100k operations: $10/month.
@faunzyboi2
@faunzyboi2 5 жыл бұрын
Just wanted to say thank you for all the great videos! your videos are extremely helpful and practical!
@frankellyguzman4297
@frankellyguzman4297 2 жыл бұрын
you videos is always so epic. love this channel
@nthonymiller
@nthonymiller 6 жыл бұрын
Great vid on Algolia, I've been thinking of adding it to my site, so timely.
@Fireship
@Fireship 6 жыл бұрын
Thanks Anthony! I've used it in many projects, never been disappointed.
@Xinthose
@Xinthose 6 жыл бұрын
I love the Chance.js library.
@dislike__button
@dislike__button 4 жыл бұрын
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.
@lightlysaltedcalmingvlogsa7286
@lightlysaltedcalmingvlogsa7286 3 жыл бұрын
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.
@peerdox2275
@peerdox2275 6 жыл бұрын
Simply amazing!!!
@Fireship
@Fireship 6 жыл бұрын
Thank you, Algolia makes it easy :)
@mohabmagdy4155
@mohabmagdy4155 4 жыл бұрын
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
@hartnil93
@hartnil93 6 жыл бұрын
Great video, like always!
@Fireship
@Fireship 6 жыл бұрын
Thank you Jacob!
@SamiullahKhan
@SamiullahKhan 6 жыл бұрын
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?
@colinwilliams3204
@colinwilliams3204 4 жыл бұрын
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!!
@juanleyva2777
@juanleyva2777 6 жыл бұрын
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 :(
@coreybeebe4481
@coreybeebe4481 6 жыл бұрын
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.
@BraxtonDiggs
@BraxtonDiggs 6 жыл бұрын
just ran into this issue!
@thomasstarzynski6787
@thomasstarzynski6787 3 жыл бұрын
true!
@carrillocarlosce
@carrillocarlosce 6 жыл бұрын
Thanks man, this is gonna be useful for me right now
@Fireship
@Fireship 6 жыл бұрын
Nice, Algolia can be a life saver.
@Smile-to2ii
@Smile-to2ii 4 жыл бұрын
@@Fireship where is code?
@thomasstarzynski6787
@thomasstarzynski6787 3 жыл бұрын
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
@juansebastiangomezrivera9219
@juansebastiangomezrivera9219 3 жыл бұрын
Yes, it has to be 'objectID'
@danielschoenbohm
@danielschoenbohm 3 жыл бұрын
Thanks man!
@CodeInspire
@CodeInspire 6 жыл бұрын
you are an amazing teacher :)
@harpymaslow
@harpymaslow 6 жыл бұрын
Great video as usual... as soon as I can I'll buy the Pro stuff. Thanks man
@khumozin
@khumozin 6 жыл бұрын
Can you use Algolia with Ionic?
@jafar1607
@jafar1607 6 жыл бұрын
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.
@hojdog
@hojdog 5 жыл бұрын
What a shame to have to pay real money for a service that makes your life easier. So sad.
@caseyschneider1974
@caseyschneider1974 5 жыл бұрын
It may have changed since you commented because this would be virtually free now to test
@narcodico
@narcodico 6 жыл бұрын
Is your website search component something you've created or does it come as part of instantSearch ?
@Fireship
@Fireship 6 жыл бұрын
It's mostly part of instantsearch, but with a few customizations.
@narcodico
@narcodico 6 жыл бұрын
Thank you!
@ValAllenSamonte
@ValAllenSamonte 6 жыл бұрын
do you still need to setup the billing information for cloud functions to work with algolia?
@Fireship
@Fireship 6 жыл бұрын
Yes, you do because it 's considered an outside API call.
@Kaze919
@Kaze919 2 жыл бұрын
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-apps2699
@d-apps2699 4 жыл бұрын
What about autocomplete search in Flutter, do you know if it's possible?
@pillar6programming687
@pillar6programming687 6 жыл бұрын
my man !
@MrYUPIYU
@MrYUPIYU 6 жыл бұрын
Nice video, however, in 6:18 we can see your Application ID in the top left of the screen (or maybe it's not)
@Fireship
@Fireship 6 жыл бұрын
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.
@MrYUPIYU
@MrYUPIYU 6 жыл бұрын
Angular Firebase okay, thanks for let me know
@gautamkumar-rk6uv
@gautamkumar-rk6uv 6 жыл бұрын
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
@devcodic2775
@devcodic2775 5 жыл бұрын
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.
@devcodic2775
@devcodic2775 5 жыл бұрын
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.
@DelgadoRecords
@DelgadoRecords 6 жыл бұрын
i want to integrate it, but with ionic, and it seems a little bit different.
@jafar1607
@jafar1607 6 жыл бұрын
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?
@MultiLenoxxx
@MultiLenoxxx 5 жыл бұрын
How expensive would this become??
@OPSergio88
@OPSergio88 6 жыл бұрын
shit, this service is so expensive... i just want develope a searcher for my free app...
@printfmit9744
@printfmit9744 6 жыл бұрын
why this video keep loading every several seconds?
@TimeoutMegagameplays
@TimeoutMegagameplays 5 жыл бұрын
Could you do a video showcasing this in Flutter?
@SondreSrbye
@SondreSrbye 6 жыл бұрын
👍
@dileepnagendra5869
@dileepnagendra5869 6 жыл бұрын
bro, getting error in cloud function log . I am in fee plan of firebase
@patriciovargas3837
@patriciovargas3837 5 жыл бұрын
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
@AlexDuval
@AlexDuval 5 жыл бұрын
@@patriciovargas3837 i waste one hour on it until, i read your com and make the upgrade, thank you so much
@patriciovargas3837
@patriciovargas3837 5 жыл бұрын
@@AlexDuval anytime!
@ownagejuice1394
@ownagejuice1394 6 жыл бұрын
what about us VueJS/Quasar users who don't Angular? :D
@Smile-to2ii
@Smile-to2ii 4 жыл бұрын
where is code?
@byronglendon3947
@byronglendon3947 5 жыл бұрын
Installing the JavaScript API client: $ npm install --save @types/algoliasearch
@juangamarra1463
@juangamarra1463 6 жыл бұрын
Background sound please
@Fireship
@Fireship 6 жыл бұрын
audiojungle.net/item/ambient-deep-loop/19729970
@Thesrik23
@Thesrik23 6 жыл бұрын
Hey Please do a video on Integrating Angular with Django
I tried 5 Firebase alternatives
10:31
Fireship
Рет қаралды 789 М.
ДОКАЗАЛ ЧТО НЕ КАБЛУК #shorts
00:30
Паша Осадчий
Рет қаралды 1,4 МЛН
Alat yang Membersihkan Kaki dalam Hitungan Detik 🦶🫧
00:24
Poly Holy Yow Indonesia
Рет қаралды 11 МЛН
Fullstack Autocomplete Search with Algolia
12:14
Fireship
Рет қаралды 95 М.
The Most Legendary Programmers Of All Time
11:49
Aaron Jack
Рет қаралды 557 М.
Understanding Firestore queries - Firebase v9
13:21
Atomic Code
Рет қаралды 6 М.
100 Firebase Tips, Tricks, and Screw-ups
24:31
Fireship
Рет қаралды 187 М.
Building the world's LARGEST functional iPhone
32:05
DIY Perks
Рет қаралды 1,5 МЛН
AI Search in your database - Hamish Ogilvy, Algolia
18:01
Algolia
Рет қаралды 1,5 М.
JavaScript Pro Tips - Code This, NOT That
12:37
Fireship
Рет қаралды 2,5 МЛН
Test-Driven Development // Fun TDD Introduction with JavaScript
12:55
ДОКАЗАЛ ЧТО НЕ КАБЛУК #shorts
00:30
Паша Осадчий
Рет қаралды 1,4 МЛН