# How I Built a Serverless Search for My Blog

DevFeed: [How I Built a Serverless Search for My Blog](<https://devfeed.tech/articles/how-i-built-a-serverless-search-for-my-blog-18830.md>)

Original publisher: [Read original article](<https://www.morling.dev/blog/how-i-built-a-serverless-search-for-my-blog/>)

Published: 2020-07-29T15:30:00Z

Content type: tutorial

Language: en

Sources: [Gunnar Morling](<https://devfeed.tech/sources/gunnar-morling.md>)

Topics: [Serverless](<https://devfeed.tech/topics/serverless.md>), [AWS Lambda](<https://devfeed.tech/topics/aws-lambda.md>), [Quarkus](<https://devfeed.tech/topics/quarkus.md>), [Java](<https://devfeed.tech/topics/java.md>), [Back end](<https://devfeed.tech/topics/backend.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [HTTP](<https://devfeed.tech/topics/http.md>)

Tags: [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [full-text-search](<https://devfeed.tech/tags/full-text-search.md>), [http](<https://devfeed.tech/tags/http.md>), [java](<https://devfeed.tech/tags/java.md>), [quarkus](<https://devfeed.tech/tags/quarkus.md>), [search](<https://devfeed.tech/tags/search.md>), [serverless](<https://devfeed.tech/tags/serverless.md>)

## AI overview

A developer describes building a custom search feature for a Hugo blog using Java and Apache Lucene. The search is compiled into a GraalVM native binary with Quarkus and deployed as a serverless application on AWS Lambda, with the article covering implementation, deployment, identity and access management, performance, and cost control.

## Source excerpt

Table of Contents Why Serverless? Solution Overview Data Extraction Search Backend Implementation Apache Lucene in a GraalVM Native Binary The Search HTTP Service Wiring Things Up Deployment to AWS Lambda Building Quarkus Applications for AWS Lambda Identity and Access Management Performance Cost Control Wrap-Up and Outlook I have built a custom search functionality for this blog, based on Java and the Apache Lucene full-text search library, compiled into a native binary using the Quarkus framework and GraalVM. It is deployed as a Serverless application running on AWS Lambda, providing search results without any significant cold start delay. If you thought Java wouldn't be the right language for this job, keep reading; in this post I'm going to give an overview over the implementation of this feature and my learnings along the way.