|
(→Autocomplete using Solr with RankingAlgorithm)
|
(→Autocomplete using Solr with RankingAlgorithm)
|
| Line 13: | |||
| '''2. How does it work ?''' | '''2. How does it work ?''' | ||
| - | An input field is marked as autocomplete enabled and any characters typed are sent across to the server side using Ajax. On the server side, a script next makes a Solr with RankingAlgorithm request with the typed characters and the returned results are sent back to client, which highlights the matches and shows the returned results in a popup window. So as the user starts typing characters, the popup window gets updated with new matches, allowing the user to easily selected the needed item. Autocomplete is very useful to guide the user to interact and select from a range of choices, while also allowing the user to enter new input if needed. See screen snapshot from an autocomplete demo implementation at [http://luxury-hotels.tgels.com/eneeds/FineLuxuryHotels.jsp] | + | An input field is marked as autocomplete enabled and any characters typed are sent across to the server side using Ajax. On the server side, a script next makes a Solr with RankingAlgorithm request with the typed characters and the returned results are sent back to client, which highlights the matches and shows the returned results in a popup window. So as the user starts typing characters, the popup window gets updated with new matches, allowing the user to easily selected the needed item. Autocomplete is very useful to guide the user to interact and select from a range of choices, while also allowing the user to enter new input if needed. See screen snapshot from an autocomplete demo implementation at [http://luxury-hotels.tgels.com/eneeds/FineLuxuryHotels.jsp luxury-hotels.tgels.com/eneeds/FineLuxuryHotels.jsp] |