|
Autocomplete
Since Google introduced the Autosuggest (or Autocomplete) search form on their toolbar, everyone wants to do the same on their websites. Developers have created Ajax autosuggest scripts which are supposed to help the user and present in real time (as they type) some possible results based on the first few character texts entered. Everybody agrees that this is a great feature to enhance the user experience. For that reason, we developed a specialized application (Autosuggest server), which does not use the database as a search engine. Lists of words are stored in CSV files, which are loaded into the memory while the application starts. Web application could retrieve data directly from Autosuggest server using Ajax techniques. Data is then returned in JSON format, in either alphabetical order, or sorted by rank. Every entry into the input file may have assigned "rank" which could be for example word popularity. In addition, the entries may have assigned properties - any textual data, which is always returned with the results. Autosuggest also lets you filter out results (this feature is explained in the example below): Autosuggest may serve simultaneously many different subsets of words in different languages. Every language has to have a prepared alphabet file (that file also contains some rules of characters equity). We have prepared alphabet files for major languages (English, German, French, Spanish, Russian, Italian, Greek, Dutch, Turkish, Ukrainian, Bulgarian and Polish). |