Enabling Fuzzy Search in C# .NET

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

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

  • @anuraj.p
    @anuraj.p Год назад +18

    Interestng. Two things I learned, 1) Soundex SQL statement 2) How to use DbFunction attribute. Thank you Hassan.

  • @mohammedelsuissey1745
    @mohammedelsuissey1745 Год назад +6

    This video is saved to my library for years to come, plz don't remove it anytime soon

  • @emmanueladebiyi2109
    @emmanueladebiyi2109 Год назад

    Great video here Hassan! Short and highly informative

  • @aweklin
    @aweklin Год назад +1

    My co-developers need to see this.
    So helpful. Have seen it many times on Bing but haven't had a requirement in any of my project yet.
    Thanks for this hint.
    Hoping to see more of these hidden capabilities more often.

  • @minimalist_zero
    @minimalist_zero Год назад

    Second time i have learned from this channel, subscribed!

  • @ahmed.adel3
    @ahmed.adel3 Год назад

    Amazing as usual 👌

  • @tedchirvasiu
    @tedchirvasiu Год назад +3

    Haw yousefool, thenk u HoShawn!

  • @EliúdeQuintasFrancisco
    @EliúdeQuintasFrancisco 8 месяцев назад

    Very very good explanation. I liked!

  • @Dragonet17
    @Dragonet17 Год назад

    Very usefull topic. Simple and amazing solution. Thanks !

  • @microtech2448
    @microtech2448 Год назад +3

    Seems good to have this function. Can you please demonstrate full text search as elastic search may do. Thank you for this video.

  • @TheZigsDk
    @TheZigsDk Год назад

    First person I ever hit the bell for. Literal gold.

  • @ahmedanwer1767
    @ahmedanwer1767 Год назад +2

    It will be great if you make a series about hidden gems of SQL or in particular SQL Server

  • @ahmadkelany
    @ahmadkelany Год назад +4

    I have been using SQL Server almost daily for the past several years..
    It amazes me that there is much cool and useful things and hidden gems like this that I have never heard before!
    Thanks for the amazing content, please keep it up and show us more hidden treasures 💐💐

  • @alegntayeyilma9564
    @alegntayeyilma9564 Год назад

    Great! as per your last comment, i checked the documentation for postgresql and it has the exact same function. Besides there is an additional function difference(text, text) return int that measures the similarity (not the difference) between two text.

  • @JtendraShahani
    @JtendraShahani Год назад

    Awesome. I am new to .NET and C#. Can you please put such videos in a playlist. In case you already did that, then can you please share the link. Thank you so much. Your efforts are very helpful to me.

  • @SyrousW
    @SyrousW Год назад

    Very useful.👍

  • @herberthsu1495
    @herberthsu1495 Год назад

    so helpful 🙏 thanks for sharing this content

  • @carldaniel6510
    @carldaniel6510 Год назад +4

    SOUNDEX can be useful, but it's a very crude "fuzzy search": It only looks at the first word of whatever is passed to it, and only the first few characters of that and gives good results only with English words. If you have a relatively short list of single words in English, it's not bad. For searching larger documents or multi-word phrases, it's almost useless. For better results, search for information on metaphone, double metaphone, metaphone 3, Levenshtein distance, Jaro-Winkler similarity, TfIdf ("term frequency, inverse document frequency) for starters.

    • @FebriantoSetiawan
      @FebriantoSetiawan Год назад +1

      add Damerau-Levenshtein

    • @carlosalmeida2847
      @carlosalmeida2847 11 месяцев назад

      @carldaniel6510 indeed, I was making some tests now with the SOUNDEX function (btw Hassan great tip totally unknown for me before watching the video), and indeed in my case is not working as I'm trying to match some codes and a lot of matches are found since the codes always starts with PP and then some 8 chars after that.
      I tried also work with the FuzzyString c# library that uses Levenshtein, Jaccard, Jaro-Winkler and others, but the problem is that the FuzzyString.ComparisonMetrics.ApproximatelyEquals cannot be directly translated to a linq to ef query. Anyone able to use some of those algos with EF*

  • @fieryscorpion
    @fieryscorpion Год назад

    Wow, just learned something new today!

  • @mohamadhelaly4979
    @mohamadhelaly4979 Год назад

    Thanx alooooooooot.
    You are awesome bro

  • @OlimjonovOtabek
    @OlimjonovOtabek Год назад

    Soo understandable thank you teacher Hassan Habib

  • @ThugLifeModafocah
    @ThugLifeModafocah Год назад

    This is awesome... thank you. Your content is really good.

  • @CRBarchager
    @CRBarchager Год назад

    Awesome video. Never knew about this feature!

  • @ahmedanwer1767
    @ahmedanwer1767 Год назад

    Very informative 👏 and plz make more videos like this

  • @talkathiriify
    @talkathiriify Год назад

    Excellent. Thank you very much Hassan.

  • @shawn301287
    @shawn301287 Год назад

    Crazy!! Thank You again mate..

  • @yeasinarafat2290
    @yeasinarafat2290 Год назад

    Didn't know about the cool stuff!

  • @AskFiqri
    @AskFiqri Год назад

    Lovely. Thanks for this.

  • @panagakis79
    @panagakis79 Год назад

    Great tip Hassan thank you! Can Soundex be applied with other languages?

    • @HassanHabib
      @HassanHabib  Год назад +1

      If these languages can leverage ef or have their own mechanism

  • @CodeMonarch
    @CodeMonarch Год назад

    Superb, thanks for sharing.

  • @محمدأحمد-ه5ه5ن
    @محمدأحمد-ه5ه5ن Год назад

    Thank you

  • @sommmen
    @sommmen Год назад

    Any notes on performance and indexes and such?

  • @mykhailokonontsev3132
    @mykhailokonontsev3132 Год назад

    Great video, thanks

  • @orafasistemas
    @orafasistemas Год назад

    Nice!!!.... thank you!

  • @yaKaiZen
    @yaKaiZen Год назад

    🙏

  • @IBNEKAYESH
    @IBNEKAYESH Год назад

    Really is that exist? I never knew this keyword before. [Subscribed]

  • @ahmadkelany
    @ahmadkelany Год назад

    Is there a function like SOUNDX that works with Arabic data?
    I tried using SOUNDX with Arabic names data but it doesn't work..
    Is there an alternative approach?

    • @HassanHabib
      @HassanHabib  Год назад

      Hum, that's a good question. SOUNDEX relies on vowels which may or may not exist in other language. Certainly not in Arabic.
      Some guy a while back wrote something to map vowels - check this out:
      www.codeproject.com/articles/26880/arabic-soundex

    • @ahmadkelany
      @ahmadkelany Год назад

      @@HassanHabib
      Thanks very much,
      I will check it out.

  • @akshay_zz
    @akshay_zz Год назад

    Subscribed.

  • @tidianediallo6199
    @tidianediallo6199 Год назад

    great!

  • @KubilayBayraktar
    @KubilayBayraktar Год назад

    Good one. But the thing is, it is not working for sentences.

  • @tea_otomo
    @tea_otomo Год назад +1

    Love the idea ... still it's a capability of Sql Server, not C# .NET, ... for us folks who work with other DBs sadly useless :/

    • @HassanHabib
      @HassanHabib  Год назад

      Yeah I had to mention that at the end - there might be other alternatives out there. Big question on performance and reliability.

  • @SergeyGorin
    @SergeyGorin Год назад

    The video title is deceiving, since it's about an SQL Server function, not about a .Net feature

  • @FebriantoSetiawan
    @FebriantoSetiawan Год назад

    Elasticsearch is way more scalable and popular

  • @Kingside88
    @Kingside88 Год назад +2

    Great explanation, bad title. its not in C# but more in Entity Framework in combination with SQL Server.

  • @mbpoblet
    @mbpoblet Год назад

    The title is quite misleading... this is about SQL Server and Entity Framework, not about C#...

  • @AthensDotNet
    @AthensDotNet Год назад

    Thank you