auto-suggest

What approach to take for caching unique auto-suggest lists for users?

I am making an app (asp.net/c#) that will autosuggest a couple fields that users type in. Each user will end up building their own auto-suggest list. Every time they add an item, if it's a new word, it will get added to their list of auto-suggests, just like gmail. I was wondering how most people go about this? Making a call to the s...

ajaxified auto suggest

I have a search module with Auto Suggest feature to build in ASP.Net The search criteria is Training Name and there is a table in database that stores trainings. The size would be as large as 30,000 trainings in the table so I have to be very careful in selecting the approach keeping in mind the performance. There could be about 3000 u...

Ajax locally testing

Hi.. im new to this Ajax thing . and i wanted to try this http://labs.adobe.com/technologies/spry/samples/data_region/SuggestSample.html neat little Autosuggest form. But this does'nt work anymore ..when i save it locally. this is what i've done so far : Firefox -> save pages as ..(index.html) new folder ( test23 ) also saved the pro...

Asp.Net Search, found changes on key press.

I am trying to implement a search bar in Asp.Net where the results change with every key press. I want the search bar to contain a drop down list of available results pertaining to what they have typed in thus far. So if you were searching for states, and you typed M, it would list all states starting with M, but if you add an i to tha...

jquery Google type suggest with restrict to list

I currently have functionality on a page to give a user suggestions based on what they type in a text box (jquery suggest). The functionality I would like to add is to restrict what gets selected / entered into the text box to only be items in the list. Basically like a combobox which restricts its selections to what's in the list. O...

Is ruby on rails plugin, acts_as_ferret, very buggy?

I am doing a very simple search on my DB using acts_as_ferret. I put this in my "Venue" model: acts_as_ferret :fields => [:name, :city] And this is in my controller search action: @t = Venue.find_by_contents(params[:search]+'~') and then I just render the results. render :text => @t.to_json, :success => true, :status => :ok I...

How do I implement intellisense-like suggestion boxes for a winforms textbox?

We have a textbox that the user enters sets of terms into, delimited by commas and separated by newlines. There may be thousands of valid terms, so we'd like to offer the user intellisense-style suggestions as they type. The default autocomplete isn't adequate because it will only do prefix-matching on the entire textbox, and won't sup...

Algorithm for suggesting products

What's a good algorithm for suggesting things that someone might like based on their previous choices? (e.g. as popularised by Amazon to suggest books, and used in services like iRate Radio or YAPE where you get suggestions by rating items) ...

Web service for brand names (electronics, clothing, books, etc.)

Does anyone know of a web service that would allow me to search up brand names for a variety of items? Basically, I want a suggest-style dropdown to match brand names as I begin to type. I am writing a household inventory program and I don't want to deal with someone mistyping a brand name and I also don't want to be storing every sing...

How to consume Facebook's "autocomplete anything" suggest-style dropdown

When you go to edit your favorite music or movies on Facebook, you will notice an autocomplete suggest list that is basically a list of "everything" (brand names, music artists, movies, etc.) How can someone consume that list in their own code? Is it part of the Facebook API? ...

How could I get data for an intelligent suggestion list?

I want to build a suggestion list where that when I enter "PHP" it knows to suggest "Web Development," and if I enter "Data Recovery" "or "Software Installations," it suggests "Information Technology." I'm sure I can work out a database schema for this, but where would I get the data from? How would the system learn to, as in the exampl...

How does del.icio.us know what tags to suggest for a URL?

When I bookmark http://dbpedia.org/About, del.icio.us suggests "xml" and "programming" as tags. How does it know that the URL relates to these topics? ...

Google suggest queries with Scriptaculous Autocompleter?

I'm trying to display Google suggested queries when a user types in a query into our search text field. Our goal is to combine Google suggested queries with the Scriptaculous Autocompleter. Here's our code: new Ajax.Autocompleter('q', 'autocomplete_choices', 'http://suggestqueries.google.com/complete/search?q=test', {method:'get', onS...

How to correct the user input (Kind of google "did you mean?")

I have the following requirement: - I have many (say 1 million) values (names). The user will type a search string. I don't expect the user to spell the names correctly. So, I want to make kind of Google "Did you mean". This will list all the possible values from my datastore. There is a similar but not same question here. This did no...

Change query argument of jQuery suggest plugin

This question is kind-of crappy because I try to get around some limitations: Current JS sends an ajax query with the following code jQuery('#searchbox').suggest('/?live=1'); What the server get is the following query string: ?live=1&q=searchstring Problem: The server expects the query string to be preceded with 's=' not 'q=' I h...

How to set up a search similar to Amazon recommended product search?

I am trying to do something similar to Amazon recommended product search. For instance, if I have a database of products and when the user searches for a particular product then the database should also be able to show related products. I am not sure how to go about the whole issue. Any suggestions on what I should be reading, books, tu...

In what scenarios can i use an auto-suggest textbox?

I have a list of brand names for a particular product in the db. I can either display it on the screen using a drop down or and auto-suggest textbox. I love the user experience of the auto-suggest textbox. But, is it right to use it here? I would also want to know the best scenario to use it? ...

How to get auto suggestion from server

How to get auto suggestion from server, list of items in textbox which can be selected in Java/J2EE ? ...

How to format search autocompletion part lists?

I'm currently working on an AppEngine project, and I'd like to implement autocompletion of search terms. The items that can be searched for are reasonably unambiguous and short, so I was thinking of implementing it by giving each item a list of incomplete typings. So foobar would get a list like [f, fo, foo, foob, fooba, foobar]. The use...

How-to build AutoComplete / Suggestions with Lucene.NET ?

How-to build AutoComplete / Suggestions with Lucene.NET ? ...