anth12 / SimpleSearch.net

Simple InMemory ranked search

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SimpleSearch.net

Simple InMemory ranked search for .net applications.

Logo

Instalation

Install-Package SimpleSearch

View on nuget.

Usage

SearchIndex = SearchIndexer.Build(Airports,
	new SearchIndexOptions<Airport>()
		.AddProperty(c => c.iata_code, 1, true)
		.AddProperty(c => c.name)
		.AddProperty(c => c.municipality, 0.6)
		.AddProperty(c => c.iso_country, 0.4)
);

var results = SearchIndex.Search("London");

About

Simple InMemory ranked search

License:MIT License


Languages

Language:C# 99.8%Language:Batchfile 0.2%