Search
Lucee provides full-text search capabilities via the Lucene Extension, supporting traditional keyword search, vector-based semantic search, and hybrid mode combining both approaches.
See the Lucene Extension recipe for details.
Functions
- GetK2ServerDocCount()
This function is deprecated.
- GetK2ServerDocCountLimit()
This function is deprecated.
Tags
- <cfcollection>
Allows you to create and administer search collections for indexing and searching content. This tag enables full-text search capabilities, including hybrid vector search when used with embedding services. Collections can be queried using different search modes: keyword-based (traditional), vector-based (semantic), or hybrid (combining both approaches)
- <cfindex>
Populates a full text search collections with indexed data.
- <cfsearch>
Executes searches against data indexed
Guides
- Adding Full Text Search to Your Application
A practical guide to adding full-text search to your Lucee application using collections, indexing, and search
- AI Augmentation with Lucene
Documentation for augmenting AI queries using Lucene search in Lucee
- Lucene 3 Extension
Documentation for the Lucene 3 Extension with vector and hybrid search capabilities