You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Phrase searches use "WidCode"s (i.e. "WordInDex" codes). A "WidCode" is a string which represents a sequence of integers. The representation is particular efficient if the integers are small. Large integers may require up to 3 times the space of small integers.
In former versions, Lexicon tried hard to assign small integers as word indices. In modern versions, the word index is chosen randomly -- avoiding the values for which the "WidCode" is particularly efficient.
Phrase searches use "WidCode"s (i.e. "WordInDex" codes). A "WidCode" is a string which represents a sequence of integers. The representation is particular efficient if the integers are small. Large integers may require up to 3 times the space of small integers.
In former versions,
Lexicon
tried hard to assign small integers as word indices. In modern versions, the word index is chosen randomly -- avoiding the values for which the "WidCode" is particularly efficient.The source comment
Products.ZCatalog/src/Products/ZCTextIndex/Lexicon.py
Lines 145 to 148 in e033d4c
apparently, the author thought, he must avoid values below 0x4000. However,
Products.ZCatalog/src/Products/ZCTextIndex/WidCode.py
Lines 68 to 72 in e033d4c
The text was updated successfully, but these errors were encountered: