Shazwazza/Examine
关于
A .NET indexing and search engine powered by Lucene.Net
数据与分析实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Examine
❤️ If you use and like Examine please consider becoming a GitHub Sponsor ❤️
What is Examine?
Examine allows you to index and search data easily and wraps the Lucene.Net indexing/searching engine. Lucene is super fast and allows for very fast searching even on very large amounts of data. Examine is very extensible and allows you to configure as many indexes as you like and each may be configured individually. Out of the box Examine gives you a Lucene based index implementation as well as a Fluent API that can be used to search for your data.
Installation
via Nuget
PM> Install-Package Examine
Quick start
Tip: IExamineManager is the gateway to working with examine. It's a singleton service that is registered in DI.
Configure Services and create an index
// Adds Examine Core services services.AddExamine(); // Create a Lucene based index services.AddExamineLuceneIndex("MyIndex");Populate the index
if (examineManager.TryGetIndex("MyIndex", out var myIndex)) { // Add a "ValueSet" (document) to the index // which can contain any data you want. myIndex.IndexItem(new ValueSet( Guid.NewGuid().ToString(), //Give the doc an ID of your choice "MyCategory", //Each doc has a "Category" new Dictionary<string, object>() { {"Name", "Frank" }, {"Address", "Beverly Hills, 90210" } })); }Search the index
var searcher = myIndex.Searcher; // Get a searcher var results = searcher.CreateQuery() // Create a query .Field("Address", "Hills") // Look for any "Hills" addresses .Execute(); // Execute the search
Releases
Information and downloads for Examine releases
Documentation
The documentation site is here
Tip: There are many unit tests in the source code that can be used as Examples of how to do things. There is also a test web project that has plenty of examples of how to configure indexes and search them.
Copyright & Licence
© 2026 by Shannon Deminick
This is free software and is licensed under the MIT License
探索相关项目
加载中…