
26 Feb
2013
26 Feb
'13
2:54 p.m.
Hi
Do Garmin devices implement multi-word street search? What happens if the user types "Main Street"? Will it search for either Main or Street, or both?
In the global index, it depends entirely on how it is built. You have entries that consist of the name and the character offset of the start character. So the entry "Main Street",1 would be sorted with the "M"s and you could have a second entry "Main Street",6 which would be sorted with "S" and allow you to search for "Street". So you can construct the index with as many name,offset pairs as you like, with the only downside being that the index could easily double in size if you just make every word indexable. ..Steve