mnogosearch: implementing a autocompplete query fct

"Andreas W. Wylach" <[email protected]>
Newsgroups gmane.comp.web.mnogosearch.general
Message-ID <[email protected]>
Hello everybody,

I try to implement a autocomplete query function using PHP and ajax  
for an intranet search engine with mnogosearch and the first try is  
quiet nice (by simply using the wrdstat table).
The complete index counts about 9000 urls of about 50 different  
domains. I use the BLOB DB-mode.
Now I want to find a way to just get "words" from a certain domain  
(the wrdstat table has all words but there is no rec_id or url_id I  
could assign to a certain url). Also using the bdict table does not  
seem to help much. No way to assign a word with the url or server.

Up to now I am not able to find a proper sql query, nor I know if this  
is possible at all what I try to accomplish.

Is there any way to create a "fast" sql query to retrieve words from a  
certain domain (ie. assign a word with the origin url)?

Would I have to create an additional table with all needed info for  
that? If so, how could I produce one? The info in the dict0A-FF seems  
to be a nice option ...

My mnogosearch (3.2.11) uses BLOB DB mode, in single mode, that would  
be easy to solve.

Any hints are greatly appreciated.

Thanks in advance!
-- 
regards,
Andreas W. Wylach

IOc3 GmbH               | Maerkische Str. 28 | 42281 Wuppertal |  
Germany/Europe
Ph: +49 (202) 254 29 77	| Fx: +49 (202) 254 49 53 | http://www.IOc3.de
Ph: +86 (760) 878 00131  (Zhongshan, Guangdong, China, GMT + 6h)
[email protected]              | --- Hey, my OpenVMS Vax got 49.56 BogoMIPS ---
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.