Chapter 6. Querying and Filtering Data

In this chapter, we will cover the following recipes:

  • Performing advanced filtering
  • Creating a custom filter
  • Searching with QueryParser
  • TermQuery and TermRangeQuery
  • BooleanQuery
  • PrefixQuery and WildcardQuery
  • PhraseQuery and MultiPhraseQuery
  • FuzzyQuery
  • NumericRangeQuery
  • DisjunctionMaxQuery
  • RegexpQuery
  • SpanQuery
  • CustomScoreQuery

Introduction

When it comes to search application, usability is always a key element that either makes or breaks user impression. Lucene does an excellent job of giving you the essential tools to build and search an index. In this chapter, we will look into some more advanced techniques to query and filter data. We will arm you with more knowledge to put into your toolbox so that you can leverage your Lucene knowledge to build a user-friendly search application.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.217.186