Free, fast, full text search: Laravel + Typesense

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ • 53

  • @winterboltgames
    @winterboltgames 3 місяці тому +10

    Typesense is awesome! I use it to search through my countless family photos with handwritten descriptions. Fun stuff!

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

    I have plans to implement exactly this in an app I'm building with Laravel, but the initial plan was to build it myself! Thanks to this video, I'll be bringing the feature to the users much sooner than anticipated! Thank you!

  • @GDEVELOPER0
    @GDEVELOPER0 День тому

    Aaron you're awesome. I have to admit
    All love from Gaza. you made my day (ditching the conflict we have rn)

  • @Tuto1902
    @Tuto1902 3 місяці тому +2

    Perfect timing. I needed this for my kanban board livestream project. Thanks! ❤

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

    Hey Aaron, awesome video as always! Would be really cool to make one regarding faceted navigation/filters.

  • @syedzaid4346
    @syedzaid4346 2 місяці тому

    Awesome library.
    Thank you so much to share this type of awesome knowledge.

  • @MrNichuya
    @MrNichuya 3 місяці тому +2

    Hey Aaron, will you self deploy / hosting typesense? If so please make a video.

  • @wormy_coder
    @wormy_coder 4 дні тому

    Helpful video keep it up❤️❤️

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

    This is great content, by a great creator.
    Thanks much!

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

      You're kind to say so! Glad you're enjoying it.

  • @joriskuijpers
    @joriskuijpers 2 місяці тому

    This video was awesome! Are you willing to share you PHPStorm Color Scheme? It looks so good!

  • @lazyh0rse
    @lazyh0rse 3 місяці тому +1

    execuse my ignorance, but how does this compare to elasticsearch?

  • @boenrobot
    @boenrobot 3 місяці тому +1

    What is the difference between using this vs. a regular "fulltext" index and operator on the database level?

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

      Full text db search is good, but lacks a lot of the speed and features of a dedicated solution. In most DBs you can't do facets, highlighting, snippets, semantic search, fuzzy, etc.

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

      @@aarondfrancis Hm... facets seem like a relatively easy feature one could implement while constructing the search query (though I admit I haven't tried in practice, so I'm not sure about the performance impact; Just based on reading about what Typesence is doing in this regard...).
      The other features though, yeah, ok.
      Highlighting and snippets I imagine would have a significant performance overhead if implemented as extra columns in the search query's output (since they're effectively searching the text again to do the extraction/replacement), and semantic/fuzzy search is outright impossible without a purpose made fulltext parser.

  • @zxcvbnm5758
    @zxcvbnm5758 3 місяці тому +1

    "No PhD required." LOL

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

    what is your chrome theme?

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

    For the example of "boolean", shouldn't the result with the "Booleans" title be first? According to the weight configuration, you configured in the typesense configuration.

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

      Good question, I don't know. I'd need to look at the data! I'd have to check how many times "boolean" appears in each transcript

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

    is there a good approach to make import command auto, each time we have new data (videos in this case), without setup a cron cmd

    • @invaderzimx900
      @invaderzimx900 3 місяці тому +1

      Calling save or create on any model with `use Searachable` will automatically add or update it in the index

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

    Aaron, could you share your PHP Storm IDE settings, keymaps, etc? I've been trying to mimic yours, but couldn't achieve some results

    • @aarondfrancis
      @aarondfrancis  3 місяці тому +1

      Yes! Which parts were you unable to replicate?

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

      @@aarondfrancis Hey Aaron how about making an video where you share your color theme settings and as well as terminal shell config also🤭. I really want to use your color theme setting in my VS code.

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

    If you want to be 'clever'™ and eliminate any of the config duplication between the model and the front end, you can pass the index name and the searchable fields etc as a page prop, then using the `usePage` composable bind the values directly when building up your template so they never fall out of sync

    • @aarondfrancis
      @aarondfrancis  3 місяці тому +2

      Ok that's pretty good. Pretty, pretty good

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

    man the php stuff was so clean. install the search, install scout and you're done. as soon as we come to the frontend it just shits itself with 3 things to get going to just display this stuff.

  • @coding-master-shayan
    @coding-master-shayan 3 місяці тому

    Which theme are you using sir?

  • @ИванРагозин-я8я
    @ИванРагозин-я8я 3 місяці тому

    What code editor do you use?

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

    Wow that's amazing 😮

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

    When using the client side adapter and vue package, 'Importing the models' step is skipped? If yes, how does typsense know about the models?

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

      using php artisan scout:import

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

      Yup exactly

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

      @@koossaayy but do we need to do it each time we have new records in the model,

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

    Thank you :)

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

    C'mon man, steamed mussels are delicious!

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

      Better than pizza?! Get outta here

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

      @@aarondfrancis Hear me out: steamed mussels ON a pizza ....
      On second thoughts, never mind. I'll get my coat...

    • @aarondfrancis
      @aarondfrancis  3 місяці тому +1

      @@prevailrob blocked and reported