在 Lucene 语言学中解析查询时的 WordDelimiterGraph 以生成词组替代方案
作者: sesigl创建于 2026年9月2日更新于 2026年9月2日
Is your feature request related to a problem? Please describe.
We index classifieds. Sellers write product tokens in mixed spellings: T-Shirt / T Shirt / Tshirt, PS5 / PS 5, 32GB / 32 GB / iPhone32GB.
At index time we split on delimiters and on letter/digit boundaries (wordDelimiterGraph with generateNumberParts and catenateWords). That is required for recall. A search for 32GB must find both "iPhone 32 GB" (space) and "iPhone32GB" (one word).
内容来源: vespa-engine/vespa