cleo
cleo copied to clipboard
A flexible, partial, out-of-order and real-time typeahead search library
We have been using Cleo in production for an year now. It works flawlessly. We are indexing 9m documents that needs hefty amount of memory. In the world of SSD,...
Sometimes a topic whose name is a prefix for a lot of other topics has a lower score than the other topics and thus doesn't appear in the search. The...
If you write something like ``` rootDir=C:\some\where\ anotherDir=${rootDir}\cleoDir ``` The parameter substitution fails because it doesn't correctly escape backslashes. This causes problems on Windows, particularly if you load the system...
 I took this snapshot after 20min the program indexed all elements. I am indexing 400000 elements into cleo with 10 partitions each owning 50000 elements in each. The program...
Now I want to use cleo to set up our typeahead system, but the native element id in cleo is int. I want to change this from int to long....
I noticed that this code actually ignores original scores when reading serialized index. So i was forced to comment it. ``` scala protected GenericTypeahead createTypeahead(GenericTypeaheadConfig config) throws Exception { SOME...
PrefixSelector doesnt properly works with word repetition. I.e. you can type same word(or even short prfix) several times and get same suggestion. You can use something like this to solve...
The GenerictypeaheadInitializer create a default ElementScoreScanner for create a Generictypeahead,whatever if the param elementScoreFile seted or not. And this action make the typeahead instance override the scores with a default...