If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Do you mean the words that people are searching for (in the log file), or words that were found during indexing the source pages (in the dictionary file).
Is there an easy way to extract the word list from the zoom_dictionary file please. I've openned it in notepad and it just looks rather jumbled.
Or indeed an API that I can use to get at it. i'd like to use the data to power this: http://www.topdreamweaverextensions.com/autocomplete if possible.
But I don't think you will be able to make it work with that autocomplete script that you mentioned. Looking at the code for that script would seem to indicate that the list of words to suggest is held in the web page itself (and not on the server).
Zoom typically finds a large amount of words during indexing. Depending on the site it might be between 10,000 and 1,000,000 unique words. If for example you added 100,000 lines of code to your HTML page (as required by this script), then your web page might takes minutes to download, before you can start a search. Which isn't practical.
Unless your site is very small, you really need an AJAX based solution, where the complete word list is keep on the server and not transferred to the client.
We are hoping to implement this type of AJAX solution for the next major release of Zoom.
I have written an AJAX autocomplete using the ASP.Net server control and the dictionary file but is it possible to get the number of pages each keyword appears on?
Not easily, no. It would require reading in the binary data stored in the other index files which is of an intricate proprietary format. You could reverse engineer the search script to get at it, but we can't promise the format won't change from version to version (should we find ways to improve it).
Comment