Expand my Community achievements bar.

AEM Full Text Lucene Search Implementation -Part 2 | AEM Community Blog Seeding

Avatar

Administrator

6/5/23

BlogImage.jpg

AEM Full Text Lucene Search Implementation -Part 2 by Shubhanshu Singh

Abstract

Searching for content can sometimes feel like finding a needle in a haystack. In the previous article AEM Lucene Search Part 1 we understood how to create index definitions in general. With the concepts highlighted below, we can get more accurate and relevant results. In this blog post, we’ll explore Filtering, Stemming, Suggestion, Analyzers, Boosting, and Similarity

Filtering: Restrict Search

Filtering narrows down search results based on criteria like category, date, or location, you can refine your queries and exclude irrelevant documents.

Index


Query

path=/content/my-site
type=cq:Page
property=jcr:content/category
property.value=Books
fulltext=
p.limit=10
The query engine searches for pages that match the specified path “/content/my-site” and type “cq:Page”. It then narrows down the search scope to pages under the given path and of the specified type.

Read Full Blog

AEM Full Text Lucene Search Implementation -Part 2

Q&A

Please use this thread to ask the related questions.