[Xapian-discuss] xapian and autocomplete?

John Wards jwards at whiteoctober.co.uk
Wed Mar 12 09:44:32 GMT 2008


Thats not something that xapian would provide.

You will need a database of words/phrases to match against. Your fav
scripting language (PHP etc), and some javascript to do the ajax calls
as people type.

A quick google finds an example using jquery and php..

http://fromvega.com/wordpress/2007/05/05/auto-complete-field-with-jquery-json-php/

You would then just pass the keywords to xapian as usual.



On Wed, 2008-03-12 at 10:39 +0100, Sascha.Wojewsky at heinze.de wrote:

> Hi,
> 
> does anybody know how to realise a autocomplete Searchinput like (for example) google?
> 
> Thanks.
> 
> Greetings.
> 
> Sascha
> 
> _______________________________________________
> Xapian-discuss mailing list
> Xapian-discuss at lists.xapian.org
> http://lists.xapian.org/mailman/listinfo/xapian-discuss


More information about the Xapian-discuss mailing list