Questions tagged [livesearch]

189 questions
12
votes
0 answers

MongoDB "Scanned Objects / Returned has gone above 1000" with Live Search + Text Index

Our React app has a live search that is connected to a MongoDB collection with the names of 250K individuals. On key stroke, the Live Search uses regex to grab the top 20 documents in the collection. Our data fetching route for the Live Search is…
Canovice
  • 9,012
  • 22
  • 93
  • 211
7
votes
1 answer

Reactjs and redux - How to prevent excessive api calls from a live-search component?

I have created this live-search component: class SearchEngine extends Component { constructor (props) { super(props); this.handleChange = this.handleChange.bind(this); this.handleSearch = this.handleSearch.bind(this); } …
Amiry
  • 350
  • 1
  • 3
  • 12
6
votes
2 answers

Live Search using ASP.NET MVC and AJAX

I am looking to implement a live search in my MVC app similar to this site when you type in a question and results come up that are similar or like the search on http://www.krop.com/ I have the search code all working and results updated. I just…
ddd
  • 1,399
  • 3
  • 19
  • 44
6
votes
3 answers

Facebook Style AJAX Search

I've created a Facebook style ajax search for my site where as you type it will bring up the results in a nice list below your search. $("#s").keyup(function() { var searchbox = $(this).val(); var dataString = 's='+ searchbox; …
Shadi Almosri
  • 11,678
  • 16
  • 58
  • 80
5
votes
1 answer

Can not populate bootstrap select with data live search + multiple with jquery

I want to populate the following select statement with options gotten from a php code