Questions tagged [bloodhound]

Bloodhound is the typeahead.js suggestion engine. It's robust, flexible, and offers advanced functionalities such as prefetching, intelligent caching, fast lookups, and backfilling with remote data.

Features

  • Works with hardcoded data
  • Prefetches data on initialization to reduce suggestion latency
  • Uses local storage intelligently to cut down on network requests
  • Backfills suggestions from a remote source
  • Rate-limits and caches network requests to remote sources to lighten the load

See the official documentation here.

280 questions
0
votes
2 answers

Typeahead/Bloodhound - number of results

I have been using typeahead and bloodhound for a project and I find it really unintuitive as well as frustrating. Something that should take a second to do ends up in an hour of research. Anyway i'm trying to alert the number of results into my…
vegas2033
  • 250
  • 1
  • 4
  • 16
0
votes
1 answer

Hiding a Solr server URL in JavaScript from user

I'm using combo of Python and Django, and JS libraries bloodhound and typeahead to form an incremental search box on a website. In the js so far I've included the URL of the remote Solr server so that the js can fire queries at it to populate the…
0
votes
1 answer

remote autocomplete by typeahead works only on unique queries

I am having problem setting up typeahead with bloodhound on two fields - symbol and name. You can try live version on my DGI portfolio manager and autocomplete remote source here. Typeahead sometimes works and sometimes it does not. If I type…
Lucas03
  • 2,267
  • 2
  • 32
  • 60
0
votes
1 answer

trying to catch hover on tt-suggestion

and the code $('.tt-suggestion').on('mouseover', function(){ …
0
votes
1 answer

Typeahead Bloodhound - Filter

My index contains the word dog how can i also find this entry if i type dogs? I would find all parts of the word 'dogs','dog','do' to a min length of 2 or 3 chars
Timay
  • 253
  • 2
  • 7
0
votes
1 answer

Typeahead.js Bloodhound ignoring high quality results

My code var streetAddress = new Bloodhound({ datumTokenizer: Bloodhound.tokenizers.obj.whitespace('value'), queryTokenizer: Bloodhound.tokenizers.whitespace, remote: { url:…
gopher
  • 47
  • 9
0
votes
0 answers

twitter typeahead with minimized dataset

My end goal is to create a type-ahead (TA) that can be used in a key-value setting for follow-on operations. I am having an issue with initialization of a basic one. I have a table of over 50M addresses. I realize this is too much for a TA, so my…
arcee123
  • 101
  • 9
  • 41
  • 118
0
votes
1 answer

Pass the typed text to the remote request with typeahead bloodhound

I've seem some topics about the same issue, but all of them seem to be using the replace option. This option doesn't seem to exist anymore in the current bloodhound. Right now I have the following which isn't showing any result at all: var url =…
Alvaro
  • 40,778
  • 30
  • 164
  • 336
0
votes
1 answer

How to manage an array of hashes with typeahead.js

I may be using the wrong tools for this, so please recommend other approaches if they're appropriate. I'm fairly certain that my problem is in my typeahead method rather than the bloodhound method. I need to search by personName, but populate…
Joe Essey
  • 3,457
  • 8
  • 40
  • 69
0
votes
1 answer

Twitter Typeahed 0.11.1 only showing one result

I'm trying to use searchkick to find a person in my database. When the user selects the person from the drop down list, it puts the id of the person in the hidden field and that is the value that gets submitted. That part works fine (mostly). The…
agustaf
  • 683
  • 1
  • 6
  • 19
0
votes
1 answer

Bloodhound / typeahead : using remote with simple strings

I'm trying to use typeahead.js with bloodhound to dynamically fetch autocomplete sugestions for an input field while the user is typing. However, I'm a noob at it and I can't figure out how to do it properly, and I found a lot of contradicting…
Master_T
  • 7,232
  • 11
  • 72
  • 144
0
votes
1 answer

Bloodhound - typeahead not showing suggestions that start with the typed search string

I've been troubleshooting this for couple hours to no avail. Basically, in the following code, I get the right results from the remote suggestions provider, var descuentos = new Bloodhound({ datumTokenizer:…
Ariel
  • 5,752
  • 5
  • 49
  • 59
0
votes
0 answers

How to integrate Test Manager and Bloodhound

I followed, https://trac-hacks.org/wiki/TestManagerForTracPlugin and https://www.youtube.com/watch?v=BIi3QMT0rT4), and installed a) Trac Generic Class b)Trac Generic Workflow c)Test Manager in order. I am trying to enable the components in the…
AVA
  • 2,474
  • 2
  • 26
  • 41
0
votes
0 answers

My first Typeahead Demo , not getting auto complete options

Hi I am new to Typeahead and I tried to simply load auto search using Bloodhound and Typeahead but I am not getting any search results. **bloodhound.js** var state=['Bihar','Bengal','Orissa','Jharkhand','Delhi','Daman & Diu']; // constructs the…
0
votes
1 answer

Typeahead Bloodhound, showing results as undefined. Wrong JSON type?

I am using Typeahead to make an autocomplete search textbox and the dropdown results are showing as undefined. Apparently the PHP does build the JSON, I have tested it. The problem might be a wrong JSON type. Here is the PHP: $a_json =…
waldon
  • 3
  • 3