Hi Steve,

When you collect the data for the index you could also increment a count for each word. Then only add the word to the index if the count is less than a optional value (default say 10000). This should work for most languages and reduce the size of the index, although it will require more memory for compiling the map.

Regards, Geoff.

Steve Ratcliffe <steve@parabola.me.uk> wrote:
Hi

Doing some more test, it seems that the new index is able to find
streets by their second word. For example, searching for Calle Naciones

Yes, sorry, it was indeed only working for the second word. The new
version I just committed now really works with all words. (Well it also
omits the word CALLE altogether, but that was just an experiment).

I made a change another change that seems to improve the sorting
and the number of streets found.

Its still not perfect.

..Steve




mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev