Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-15880

Introduce Support to K Nearest Neighbors Search

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 9.0
    • 9.0
    • None

    Description

      This contribution introduces in Apache Solr the ability to run vector-based searches using native Apache Lucene data structures optimized for approximate nearest neighbours.
      This is the first milestone in introducing Neural Search in Apache Solr.
      More will come later.

      It builds on top of https://issues.apache.org/jira/browse/LUCENE-9004 to provide a:

      • Dense Vector Field - At moment Single valued, supporting stored, indexed
      • Knn Query Parser - simple query parser to run knn search on target vector and field

      The Dense Vector field only supports KNN searches (no range query, no field queries, no existence queries...)

      The Knn query parser can be used as query, filter query and rerank query.

      Attachments

        1. Screen Shot 2022-01-17 at 12.49.52 PM.png
          506 kB
          Joel Bernstein
        2. Screen Shot 2022-01-17 at 1.10.14 PM.png
          541 kB
          Joel Bernstein

        Issue Links

          Activity

            People

              abenedetti Alessandro Benedetti
              abenedetti Alessandro Benedetti
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 16h 20m
                  16h 20m