[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sup-talk] Completion for search queries



Reformatted excerpts from Christopher Bertels's message of 2009-11-03:
> Cool, anyone who knows how & wants to implement this? ;)

If anyone is interested, I would suggest this approach: have each index
(Ferret and Xapian) have a method that returns a list of query terms,
and then look at how BufferManager#ask_many_emails_with_completions
works, and implement something similar called ask_for_search_query or
the like. Then have bin/sup circa line 275 call that instead of #ask.
-- 
William <wmorgan-sup@masanjin.net>
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk