Free Sample
+ Collection

Instant Lucene.NET

Michael Heydt

Learn how to index and search through unstructured data using Lucene.NET
RRP $12.99

Want this title & more?

$12.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781782165941
Paperback66 pages

About This Book

  • Learn something new in an Instant! A short, fast, focused guide delivering immediate results
  • Learn how to execute searches for document indexes
  • Understand scoring and influencing search results
  • Easily maintain your index

Who This Book Is For

Instant Lucene.NET is essential for developers new to Lucene and Lucene.NET who are looking to get an immediate foundational understanding of how to use the library in their application. It’s assumed you have programming experience in C# already, but not that you have experience with search techniques such as information retrieval theory (although there will be a little of that explained). The recipes in the book generate or come with sample documents, but feel free to use your own!

Table of Contents

Chapter 1: Instant Lucene.NET
Creating a project using Lucene.NET (Must know)
Creating a Lucene.NET index (Must know)
Searching for an index with TermQuery (Must know)
Searching using QueryParser (Should know)
Indexing numbers, dates, and time (Become an expert)
Advanced index searches (Become an expert)
Understanding Lucene.NET's scoring (Become an expert)
Ordering search results (Should know)
Narrowing the search space using filters (Become an expert)
Deleting documents from an index (Should know)
Updating a document's search data in an index (Become an expert)
Optimizing and merging index segments (Become an expert)
Stopping a slow search (Become an expert)

What You Will Learn

  • Use NuGet Package Manager to add Lucene.NET to your solution
  • Read unstructured data to your Index
  • Understand how documents are scored
  • Increase the relevancy ranking of a document
  • Optimize your index
  • Cancel long running searches
  • Remove documents from an index
  • Update document data in an index

In Detail

Lucene.NET is a high performance search library for .NET based upon the proven Lucene open source search project that powers many of the world’s most powerful search tools. Using Lucene.NET in your application can easily provide these capabilities, which are relatively unfamiliar to .NET developers.

Instant Lucene.NET is a practical, hands-on guide that provides you with a number of clear step-by-step recipes, which will help you take advantage of the power of Lucene.NET to add the ability to search through unstructured data in your .NET application.

This book demonstrates how to use Lucene.NET, breaking down the mystery and confusion around how to use the library in your .NET application with clear, practical recipes.

You will learn how to build your own index from complex documents and how to execute queries in order to identify matching documents for specific words and phrases as well as content that starts with or has “fuzziness”.

By the end of the book, you will have learned all the essentials you need to know to add search to applications, as well as how to manage the search process and performance as your data grows.


Read More