Lucene - Search

Subscribe Send me a message home page tags


#Lucene  #search  #query 

This post is a reading note of Lucene In Action - Second Edition Chapter 3: Search.

Mind Map Summary

Lucene_Search.png

General Search Workflow

search_workflow.png

One important thing to remember is that the terms in the index are processed contents. The query entered by the user is raw content. If we want to construct queries entirely programmatically, you must ensure the terms included in all of your queries match the tokens produced by the analyzer used during indexing.

Syntax Suger Used in QueryParser

QueryParser_Expression.png

Note

----- END -----

If you have questions about this post, you could find me on Discord.
Send me a message Subscribe to blog updates

Want some fun stuff?

/static/shopping_demo.png