Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Dynamic index update #29

Closed
ashfaq92 opened this issue Mar 5, 2020 · 3 comments
Closed

Dynamic index update #29

ashfaq92 opened this issue Mar 5, 2020 · 3 comments

Comments

@ashfaq92
Copy link

ashfaq92 commented Mar 5, 2020

Hi!

Do I understand correctly that LOPQ does not currently support dynamic index update / adding new data to an existing dataset?

@dmllr
Copy link

dmllr commented Mar 5, 2020

Hi @ashfaq92,

You're right.

And, to be clear, dynamic update is far out of the scope of search algorithm in general and LOPQ particularly.
In point of view of System Design, dynamic update should be basically a functionality of your Service using LOPQ as backbone search engine. It is very likely that you may replace LOPQ with something different but keep update subsystem unmodified.

@ashfaq92
Copy link
Author

ashfaq92 commented Mar 5, 2020

Thank you for the prompt reply.
Actually my problem includes performing 'n' number of nearest neighbor batch queries for 'n' randomly generated vectors to a dataset and inserting one (based on some criteria) of these randomly generated to the existing dataset.
In this way, data-set will be incrementally increased each time after the batch queries are performed

can you please suggest any help in this case?

@ashfaq92 ashfaq92 closed this as completed Mar 5, 2020
@dmllr
Copy link

dmllr commented Mar 5, 2020

@ashfaq92, I believe LOPQSearcher.add_data or LOPQSearcher.add_codes would help you.

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

No branches or pull requests

2 participants