Creating a search catalog in PostgreSQL using full text indexing

Поділитися
Вставка
  • Опубліковано 23 лип 2024
  • Creating a full text index in PostgreSQL is an extremely powerful way to add a full-featured, comprehensive search function to your application. Full text indexing is probably the most under-appreciated feature of PostgreSQL, but it's there and you can take advantage of it!
    The code and data is here: bigmachine.io/2022/06/12/crea...
    Postgres resources: bigmachine.io/products/a-curi...
  • Наука та технологія

КОМЕНТАРІ • 36

  • @adamroach43
    @adamroach43 11 днів тому

    amazingly helpful and well communicated. thank you!

  • @pramodjingade6581
    @pramodjingade6581 6 місяців тому +2

    I learnt all that I needed for search in just 14 mins, thanks to this video. 💯 to keep it simple & easily understandable!! 👍

  • @SpecialK845
    @SpecialK845 Рік тому

    This has changed my life. Thanks for the video!

  • @oubayryuuk
    @oubayryuuk Рік тому

    im loving these vids, pls keep on making them

  • @bricef0918
    @bricef0918 Рік тому

    Awesome tutorial! Very well explained. Thank you!

  • @llgmusic
    @llgmusic Рік тому

    Thanks for this tutorial, it's very helpful and comprehensive! IT gives me some arguments to use Postgres as a database

  • @naufalamiruddin5798
    @naufalamiruddin5798 Рік тому +1

    Great tutorial! very clear and detailed explanations. You deserve more subscriber sir.

  • @Koshick
    @Koshick Рік тому

    Wow this is really awesome tutorial. Thanks for your detailed instructions.

  • @Misa7531
    @Misa7531 6 місяців тому

    That was amazing, I didn't even realize that something like this is possible this video definitely goes to "bookmarks" for future reference , thank you very much.

  • @olebogengmauco1297
    @olebogengmauco1297 Місяць тому

    Thank You for show us the light. I've subscribed, instead of making me a borito, want to come to your house and make you a borito 😁🙏

  • @zed9zed
    @zed9zed Рік тому

    Amazing video. You really pack a lot in, but with adequate explanations (and some humor that thankfully does not get in the way). I may have to watch this 5 times to get it all, but that's better than having to watch a video on fast forward and 10sec jumping frequently to skip over fluff.

  • @ralphlewis3563
    @ralphlewis3563 Рік тому

    I Love this. Awesome and to point

  • @carta-viva
    @carta-viva 2 місяці тому

    Oh Lord, I'd to work with Postgres again u.u, but whait, how cool is that? It's awesomeness cool! Thanks for sharing this Mr Rob!

  • @lucianostegun
    @lucianostegun Рік тому

    Awesome video! Learned a lot!!!

  • @carloscampos7709
    @carloscampos7709 Рік тому

    Great video. Thanks!

  • @pedestrian9287
    @pedestrian9287 Рік тому

    Terrrrrific video!! Exactly what I needed!

  • @ndevadas
    @ndevadas 3 місяці тому

    Thank you

  • @silasselfe5308
    @silasselfe5308 Рік тому

    you've earned my subscription.

  • @blameItleaveit
    @blameItleaveit Рік тому

    awesome video

  • @TheProtein83
    @TheProtein83 Рік тому

    Terrific info! I am curious to know how this setup compares with elastic search for full text search?

  • @Septumsempra8818
    @Septumsempra8818 8 місяців тому

    Top Video!!!
    How do we do this for ecommerce? So product names, cats etc, and also sortings on price, and lastly pagination.
    🇿🇦

  • @kasvith
    @kasvith Рік тому

    Subbed immediately

  • @soumenkhara5456
    @soumenkhara5456 Рік тому

    This video is awesome. Can you explain same thing in multiple releted table?

    • @big-machine
      @big-machine  Рік тому

      I would say to denormalize and have a dedicated search table that gets updated automatically, or via code.

  • @MatteoPresot
    @MatteoPresot Рік тому

    really no words other than thank you!!

  • @microtech2448
    @microtech2448 Рік тому

    Great video! Nice way of explanation. One thing, can it handle fuzziness too?

    • @big-machine
      @big-machine  Рік тому +1

      See the comment below RE fuzziness from @Rocco - fuzzy queries and text queries are different beasts. If you want fuzziness, use the ~* operator (regex) but be mindful of destroying your indexes!

  • @dasR0ckt
    @dasR0ckt Рік тому

    Hi, I tried to take a look at the data you mentioned in the video and play around a bit, I cant find it behind the link in the description though. Am I being thick and overlooking something? Thanks for the video, I never knew about full text search.

    • @big-machine
      @big-machine  Рік тому +1

      Whoops - looks like I left the link out! I added it back if you're still up for trying things out: bigmachine.io/2022/06/12/creating-a-full-text-search-engine-in-postgresql-2022/

    • @dasR0ckt
      @dasR0ckt Рік тому

      @@big-machine Thanks, thats awesome :) I found a (german) quote database in the meantime too, lets see if the things I did with that work out just as well with yours :)

  • @deer7183
    @deer7183 Рік тому

    how can you add synonyms like if someone searches 'bag' it should also show 'backpack' results?

    • @big-machine
      @big-machine  Рік тому

      You would probably need to do this yourself using code - but even then you're skewing the context. Backpack is a verb and a noun and is it really a bag? I know you're just giving an example - but these are the kinds of things you need to think through in terms of lexxing,

  • @Justinallenmarsh
    @Justinallenmarsh 6 місяців тому

    Is this search fuzzy?

  • @1337shadow
    @1337shadow Рік тому

    M waiting for my borito

  • @doridore1234
    @doridore1234 Рік тому

    i better get that fuckin burrito.

  • @gadgetboyplaysmc
    @gadgetboyplaysmc 11 місяців тому +1

    I am overwhelmed. Not the best at SQL at all. How'd you learn all this? If you could give a roadmap on learning Postgresql features like this from scratch it would be great if you could share. Time to watch this video 20 times until I get it.