NinjaNye.SearchExtensions.Soundex
4.0.1
dotnet add package NinjaNye.SearchExtensions.Soundex --version 4.0.1
NuGet\Install-Package NinjaNye.SearchExtensions.Soundex -Version 4.0.1
<PackageReference Include="NinjaNye.SearchExtensions.Soundex" Version="4.0.1" />
paket add NinjaNye.SearchExtensions.Soundex --version 4.0.1
#r "nuget: NinjaNye.SearchExtensions.Soundex, 4.0.1"
// Install NinjaNye.SearchExtensions.Soundex as a Cake Addin #addin nuget:?package=NinjaNye.SearchExtensions.Soundex&version=4.0.1 // Install NinjaNye.SearchExtensions.Soundex as a Cake Tool #tool nuget:?package=NinjaNye.SearchExtensions.Soundex&version=4.0.1
NinjaNye.Soundex support
NinjaNye.SearchExtensions.Soundex supports converting and searching for words that sound like a given word.
SearchExtensions.Soundex is a library of IQueryable and IEnumerable extension methods to perform 'sound like' searches. More information on these packages and it's use can be found by, visiting my blog.
How to: Performing Soundex
searches
Returning records that 'sound like' "test" using the Soundex algorythm:
Search where a single property sounds like a single search term
var result = data.SoundexOf(x => x.Property1).Matching("test")
Search where a any of multiple properties sounds like a single search term
var result = data.SoundexOf(x => x.Property1, x => x.PropertyTwo)
.Matching("test")
Search where a single property sounds like any one of multiple search terms
var result = data.SoundexOf(x => x.Property1).Matching("test", "another")
Search where a any of multiple properties sounds like any of multiple search terms
var result = data.SoundexOf(x => x.Property1, x => x.PropertyTwo)
.Matching("test", "another")
How to: Performing ReverseSoundex
searches
All the above soundex examples can be performed using the Reverse Soundex algorithm.
Simply substitute in the ReverseSoundexOf()
method. For example:
Search where a single property sounds like a single search term
var result = data.ReverseSoundexOf(x => x.Property1).Matching("test")
Search where a any of multiple properties sounds like a single search term
var result = data.ReverseSoundexOf(x => x.Property1, x => x.PropertyTwo)
.Matching("test")
The above
SoundexOf
andReverseSoundexOf
methods can also be applied toIQueryable
data. ForIQueryable
we reduce the amount of records returned from the data source as much as possible but be aware that the soundex searching is performed on the in memory collection.
For more information about the Soundex search functionality, soundex search performance, and how it has been integrated with IQueryable
, please visit http://jnye.co/posts/tagged/soundex
If you have any new feature requests, questions, or comments, please get in touch, either, via my website, twitter or preferably raise an issue in this GitHub repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.0 is compatible. netstandard1.1 was computed. netstandard1.2 was computed. netstandard1.3 was computed. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 was computed. netstandard2.1 is compatible. |
.NET Framework | net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Windows Phone | wp8 was computed. wp81 was computed. wpa81 was computed. |
Windows Store | netcore was computed. netcore45 was computed. netcore451 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.8.1
- NinjaNye.SearchExtensions (>= 4.0.1)
-
.NETStandard 1.0
- NETStandard.Library (>= 1.6.1)
- NinjaNye.SearchExtensions (>= 4.0.1)
-
.NETStandard 2.1
- NinjaNye.SearchExtensions (>= 4.0.1)
-
net8.0
- NinjaNye.SearchExtensions (>= 4.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on NinjaNye.SearchExtensions.Soundex:
Package | Downloads |
---|---|
RezisFramework
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
NinjaNye.SearchExtensions.Soundex library.