Console icon indicating copy to clipboard operation
Console copied to clipboard

Autocompleter: Huge number of words

Open Esysteme opened this issue 10 years ago • 8 comments

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.

Esysteme avatar Oct 28 '15 11:10 Esysteme

Hello :-),

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

Hywan avatar Oct 28 '15 11:10 Hywan

question or feature request, not a bug =)

Esysteme avatar Oct 28 '15 12:10 Esysteme

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

Hywan avatar Oct 28 '15 12:10 Hywan

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.

Esysteme avatar Oct 28 '15 15:10 Esysteme

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 avatar Oct 29 '15 07:10 Hywan

@Esysteme Did I rename the issue correctly?

Hywan avatar Oct 29 '15 07:10 Hywan

ping @Esysteme

Jir4 avatar Feb 02 '16 09:02 Jir4

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

Esysteme avatar Mar 06 '17 16:03 Esysteme