Skip to content
This repository has been archived by the owner on Sep 20, 2021. It is now read-only.

Autocompleter: Huge number of words #60

Open
Esysteme opened this issue Oct 28, 2015 · 8 comments
Open

Autocompleter: Huge number of words #60

Esysteme opened this issue Oct 28, 2015 · 8 comments
Assignees
Labels

Comments

@Esysteme
Copy link

Esysteme commented Oct 28, 2015

The goal is to make a query each push on key board to get result from DB.

The goal is to make auto complete with 10 000 000 line in DB, of course set 10 000 000 elem in array in not the good solution


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Hywan Hywan added the question label Oct 28, 2015
@Hywan
Copy link
Member

Hywan commented Oct 28, 2015

Hello :-),

The goal of what? Is it a question? A bug? A feature request? A PR?

@Hywan Hywan self-assigned this Oct 28, 2015
@Esysteme
Copy link
Author

question or feature request, not a bug =)

@Hywan
Copy link
Member

Hywan commented Oct 28, 2015

I don't see any question. Can you reformulate please?

@Esysteme
Copy link
Author

well instead to put an array of 1 000 000 000 of elements, I would to use the result of an SQL query that i feed to each input on keyboard. if any possibility to do that if not to make this feature.

@Hywan
Copy link
Member

Hywan commented Oct 29, 2015

I guess yes. We could be able to change Autocompleter\Word to work on an iterator instead of an array. And this way you will be able to pass the SQL result as an iterator. It will save memory. But if you need to iterate over all the result set, it can be long…

Thoughts?

@Hywan Hywan changed the title Auto complete with Database Autocompleter: Huge number of words Oct 29, 2015
@Hywan
Copy link
Member

Hywan commented Oct 29, 2015

@Esysteme Did I rename the issue correctly?

@Jir4
Copy link

Jir4 commented Feb 2, 2016

ping @Esysteme

@Hywan Hywan closed this as completed Feb 21, 2017
@Hywan Hywan reopened this Feb 21, 2017
@Esysteme
Copy link
Author

Esysteme commented Mar 6, 2017

Sorry yes correctly renamed, anyone think about this new feature ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

3 participants