For example, if the suggest entries are:
And the number of matches is set to 2
The build time and temporary space required can roughly be computed as:
When you enable substring matching, we have to recreate this prefixing for each letter of the entry. Therefore, the build time and temporary space can be computed as:
When you enable subexpr matching, we have to recreate this prefixing for each word of the entry. Therefore, the build time and temporary space can be computed as:
The build time is therefore highly dependent on the entries size. It is therefore an extremely bad idea to compute a suggest on the "text" field without any options. Such a suggest can take hours to build, even with a few thousand documents. If you want to build suggest based on the textual content of the index, you must use:
|