Free, fast, full text search: Laravel + Typesense

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 50

  • @winterboltgames
    @winterboltgames 2 месяца назад +10

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

  • @vedovelli
    @vedovelli 2 месяца назад

    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!

  • @Tuto1902
    @Tuto1902 2 месяца назад +2

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

  • @syedzaid4346
    @syedzaid4346 Месяц назад

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

  • @gsarnaudov
    @gsarnaudov Месяц назад

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

  • @robotys
    @robotys 2 месяца назад

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

    • @aarondfrancis
      @aarondfrancis  2 месяца назад

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

  • @LenWoodward
    @LenWoodward 2 месяца назад

    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  2 месяца назад +2

      Ok that's pretty good. Pretty, pretty good

  • @joriskuijpers
    @joriskuijpers Месяц назад

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

  • @MrNichuya
    @MrNichuya 2 месяца назад +1

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

  • @lazyh0rse
    @lazyh0rse 2 месяца назад +1

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

  • @Zach2825
    @Zach2825 2 месяца назад

    Wow that's amazing 😮

  • @nonefvnfvnjnjnjevjenjvonej3384
    @nonefvnfvnjnjnjevjenjvonej3384 2 месяца назад

    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.

  • @boenrobot
    @boenrobot 2 месяца назад +1

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

    • @aarondfrancis
      @aarondfrancis  2 месяца назад

      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 2 месяца назад

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

  • @vtsouza
    @vtsouza 2 месяца назад

    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  2 месяца назад +1

      Yes! Which parts were you unable to replicate?

  • @ltroya
    @ltroya 2 месяца назад

    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  2 месяца назад

      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

  • @compton8301
    @compton8301 2 месяца назад

    Thank you :)

  • @zxcvbnm5758
    @zxcvbnm5758 2 месяца назад +1

    "No PhD required." LOL

  • @alhianelahcen8775
    @alhianelahcen8775 2 месяца назад

    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 2 месяца назад +1

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

  • @coding-master-shayan
    @coding-master-shayan 2 месяца назад

    Which theme are you using sir?

  • @raiyansarker
    @raiyansarker 2 месяца назад

    what is your chrome theme?

  • @prevailrob
    @prevailrob 2 месяца назад

    C'mon man, steamed mussels are delicious!

    • @aarondfrancis
      @aarondfrancis  2 месяца назад

      Better than pizza?! Get outta here

    • @prevailrob
      @prevailrob 2 месяца назад

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

    • @aarondfrancis
      @aarondfrancis  2 месяца назад +1

      @@prevailrob blocked and reported

  • @ИванРагозин-я8я
    @ИванРагозин-я8я 2 месяца назад

    What code editor do you use?

  • @siyabdev
    @siyabdev 2 месяца назад

    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 2 месяца назад

      using php artisan scout:import

    • @aarondfrancis
      @aarondfrancis  2 месяца назад

      Yup exactly

    • @alhianelahcen8775
      @alhianelahcen8775 2 месяца назад

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