views:

23

answers:

0

Has anyone ever used Xapian for implementing an Auto-Complete/Auto-Suggest feature? i.e. providing possible set of suggestions as the user types a.k.a. Google's Auto-Suggest.

I have about 2 million phrases for which I am considering using Xapian as the search framework. As I understand, this framework was not build for this kind of feature. So I would like to know somethings before diving into this -

  1. If someone has taken a stab at this then what are the problems one encountered?
  2. Is this the right framework to build something like this?
  3. If I am taking a totally wrong approach or wrong framework, then please suggest alternatives.