The default 250 is chosen to support symbols with up to 10 uppercase characters.
The default 250 is chosen to support symbols with up to 10 uppercase characters.
combinatorial.choose(12, 3) == 200
Iterate over all possible substrings of length 3 for the given string.
Returns all possible substrings of length 3 for the given string.
Returns combinations of the query string with up to three characters uppercased.
Returns combinations of the query string with up to three characters uppercased.
We assume the first character is always uppercased so this method is more like
"bigrams for query.tail
".
the maximum number of combinations. The default value 250 is chosen mostly arbitrarily with basic validation through benchmarks in akka/akka. The query "abcdefghijklmnopqrstabcdefghijkl", which returns 0 results, takes 215ms in akka/akka with 250 combinations and 420ms with 500 combinations.