desc: "Applies function to the elements of iterator and returns the first non-none result.",
name: "find_map",
parent: {ty: 8, name: "Iterator"},
path: "std::iter",
ty: 11,
type: [["self"],["f"]]
}
...
]
```
##### 2. Build *search words array* based on *search index*
The *search words array* is the list of search words to query against which build from the raw *search index*.
It's just a plain name array of every Rust structs, traits, enums, functions, methods, macros, etc.
```js
var searchWords = [
"result",
"option",
"hashmap",
"hashset",
"clone",
"copy",
"disply",
"debug",
...
]
```
##### 3. Search keyword in *search words array* by *levenshtein distance*, mapping the *search word* and *search index* to generate the *search result*
##### 4. Sort *search result* according to *levenshtein distance* and others metrics
##### 5. Transform *search result* to *suggestion result* to show in address bar