How to use KNN with Apache Solr?
See original GitHub issuePreviously, we were using this system when we were recogniting multiple faces for per person. But now, we have switched the database system following the #238 (BTW, Thanks @khaledabbad for recommended us to use Apache Solr
) issue and the results and speeds are amazing!
Now, the system works flawlessly for single-trained face if this structure is being used:
Structure:
<train_dir>/
βββ <person1>/
β βββ <single>.jpeg
βββ <person2>/
β βββ <single>.jpeg
βββ <person3>/
β βββ <single>.jpeg
βββ ...
If we have datas like this structure:
Structure:
<train_dir>/
βββ <person1>/
β βββ <somename1>.jpeg
β βββ <somename2>.jpeg
β βββ ...
βββ <person2>/
β βββ <somename1>.jpeg
β βββ <somename2>.jpeg
βββ ...
β¦ the system does not learn a single person with more than one face. Because we have not implemented KNN
algorithm yet.
The question is: How can we use the KNN
algorithm with this structure (using with 128-column database design) ?
Issue Analytics
- State:
- Created 4 years ago
- Comments:11
Top Results From Across the Web
Machine Learning | Apache Solr Reference Guide 7.7
The knn function searches the rows of a matrix for the k-nearest neighbors of a search vector. The knn function returns a matrix...
Read more >Apache Solr Neural Search Knn benchmark - Sease
In this blog post, we are going to measure KNN Search performance in Apache Solr from different points of view.
Read more >Classifying Content with Apache SOLR - Zaizi
Once the document is received by the custom Apache Solr update request processor, it will be classified by Lucene classifier using either NaiveΒ ......
Read more >Neural Search Comes to Apache Solr: Approximate Nearest ...
This talk explores the first Apache Solr official contribution about this topic, ... and how Approximate K-Nearest Neighbor (KNN) vector search works.
Read more >k-nearest neighbor (kNN) search | Elasticsearch Guide [master]
To run a kNN search, you must be able to convert your data into meaningful vector values. You create these vectors outside of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Dentrax can you share the source code if possible
Thanks
Could you please tell me what field type you used in Apache solr?