Concept Flow - Wildcard and prefix queries
Start Query
Check Query Type
Prefix?
Build prefix
Search index with pattern
Return matching documents
End
The query starts by checking if it is a prefix or wildcard query, builds the pattern accordingly, searches the index, and returns matching documents.
