Search and Top Navigation
#9844 closed bug (notabug)
Opened February 20, 2014 11:07AM UTC
Closed February 26, 2014 03:11PM UTC
Data handling limit of Auto Complete widget
Reported by: | mr.umashankar | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.autocomplete | Version: | 1.8.23 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi,
I am using jQuery UI Autocomplete 1.8.23 widget for my webpage. My source of words are on a Database and I wrote some Java classes to fetch it through POST calls. When the data is more (such as 4000 terms or around 250KB), the widget is very slow. If the data further increases (to 10,000 terms), the performance is much worse. I have tried in both JSON as well as Array formats and ended up with same result. Following is my code snippet:
$.post(
"./getAutoCompleteResults.html",{
searchKey: inputString,
function(datas) {
if(datas != ''){
availableTags = datas.split(',');
$( "#inputBox" ).autocomplete({
source: availableTags,
minLength: 3
});
}
}
);
I wanted to know if there is any limit with the widget in handling bigger data with more number of results/terms. Also, please let us know if there is any other way to handle such bigger data on Auto Complete widget.
Thank you.
Regards,
Uma Shankar
Attachments (0)
Change History (1)
Changed February 26, 2014 03:11PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
No user can ever look through thousands of results in an autocomplete. Filter the results on the server.