PhoenixmlDb.XQuery
FullTextEngine
Full-text search engine powered by Lucene.NET analyzers. Handles tokenization, stemming, and text analysis for XQuery Full-Text queries. Uses Lucene.NET for linguistic analysis (tokenizers, stemmers, stop words) while keeping index storage separate (for LMDB integration).
#FullTextEngine
Namespace: PhoenixmlDb.XQuery.FullText
Full-text search engine powered by Lucene.NET analyzers. Handles tokenization, stemming, and text analysis for XQuery Full-Text queries. Uses Lucene.NET for linguistic analysis (tokenizers, stemmers, stop words) while keeping index storage separate (for LMDB integration).
#Methods
#Analyze(String,PhoenixmlDb.XQuery.FullText.FullTextAnalysisOptions)
Analyzes text into a sequence of terms using the specified language and options. Returns terms with their positions for phrase/proximity matching.
#ContainsPhrase(Collections.Generic.List<PhoenixmlDb.XQuery.FullText.AnalyzedTerm>,Collections.Generic.List<PhoenixmlDb.XQuery.FullText.AnalyzedTerm>)
Checks if source contains search terms as a contiguous phrase.
#ContainsText(String,String,PhoenixmlDb.XQuery.Ast.FtAnyAllOption,PhoenixmlDb.XQuery.FullText.FullTextAnalysisOptions)
Checks if a text contains the specified search terms according to full-text semantics. This is the core evaluation for "contains text" expressions.
#GetAnalyzer(PhoenixmlDb.XQuery.FullText.FullTextAnalysisOptions)
Gets the appropriate Lucene analyzer for the given options.
#ScoreBM25(Collections.Generic.List<PhoenixmlDb.XQuery.FullText.AnalyzedTerm>,Collections.Generic.List<PhoenixmlDb.XQuery.FullText.AnalyzedTerm>,Int32,Int32,Func<String,Int32>)
Computes a BM25 relevance score for a document against a query.
#WithinWindow(Collections.Generic.List<PhoenixmlDb.XQuery.FullText.AnalyzedTerm>,Collections.Generic.List<PhoenixmlDb.XQuery.FullText.AnalyzedTerm>,Int32)
Checks if terms appear within a window of N positions.