Run A Vector Search with the Server Web Console

  • how-to
    +
    Run a Vector Search query from the Couchbase Server Web Console to preview and test the search results from a Vector Search index.

    For more information about how the Search Service scores documents in search results, see Scoring for Search Queries.

    Prerequisites

    Procedure

    To run a Vector Search with the Couchbase Server Web Console:

    1. Go to Search.

    2. Click the index where you want to run a search.

    3. In the Search this index field, enter a search query.

    4. Press Enter or click Search.

    Example: Running a Simple Vector Similarity Query

    For example, the following query searches for the top 2 vectors similar to the vector [ 0, 0, 128 ] in the colorvect_l2 field:

    {
        "fields": ["*"], 
        "knn": [
          {
            "k": 2, 
            "field": "colorvect_l2", 
            "vector": [ 0, 0, 128 ]
          }
        ]
    }

    The Search query is only a Vector Search query. It only returns the k number of similar vectors.

    When running a hybrid Search query, the Search Service combines the Vector search results from a knn object with the traditional query object by using an OR function. If the same documents match the knn and query objects, the Search Service ranks those documents higher in search results.

    The document for the color navy should be the first result, followed by a similar color.

    Example: Running a Simple Hybrid Search Query

    The following hybrid Search query searches for the top vector similar to the vector [ 0, 0, 128 ] in the colorvect_l2 field. It also runs a Numeric Range Query on the brightness field to only return colors that have a brightness value between 70 and 80:

    {
        "fields": ["*"], 
        "query": { 
          "min": 70,
          "max": 80,
          "inclusive_min": false,
          "inclusive_max": true,
          "field": "brightness"
        }, 
        "knn": [
          {
            "k": 1, 
            "field": "colorvect_l2", 
            "vector": [ 0, 0, 128 ]
          }
        ]
    }

    The Search Service combines the Vector search results from a knn object with the traditional query object by using an OR function. If the same documents match the knn and query objects, the Search Service ranks those documents higher in search results.

    The document for the color navy should be the first result, followed by colors that are similar and match the brightness field query.

    Example: Running a Semantic Search Query with a Large Embedding Vector

    The following query searches for matches to a large embedding vector, generated by the OpenAI embedding model, text-embedding-ada-002-v2.

    You can find generated embedding vectors for each color’s description field in rgb.json.

    This query should return the document for the color navy, based on a generated embedding vector for:

    What is a classic, refined hue that exudes elegance and is often linked to power and stability?

    The following shows part of the sample Search query:

    {
        "fields": ["*"],
        "knn": [
          {
            "field": "embedding_vector_dot",
            "k": 3,
            "vector": [
              0.024032991379499435,
              -0.009131478145718575,
              0.013961897231638432,
              -0.024734394624829292,
              -0.020605377852916718,
              0.006739427801221609,
              -0.012539239600300789,
              0.0063192471861839294,
              0.000004374724539957242,
              -0.030252983793616295,
              -0.010944539681077003,
              -0.0012845275923609734,
              0.0059850881807506084,
              -0.006388725712895393,
              -0.016304319724440575,
              0.03046472743153572,
              0.029988301917910576,
              -0.013121536932885647,
              0.01815708354115486,
              -0.011096730828285217,
              -0.0423753522336483,
              -0.0023523480631411076,
              -0.00022332418302539736,
              -0.0024681459181010723,
              -0.02911485731601715,

    Due to the size of the embedding vector, only part of the full query is being displayed in the documentation.

    Click View on GitHub to view and copy the entire Vector Search query payload. Make sure you remove the lines for // tag::partial[] and // end::partial[].

    Example: Running a Semantic Search Query with a base64 Encoded String

    If your database is running Couchbase Server version 7.6.2 or later, you can use vectors encoded as base64 strings with Vector Search. For example, the following document describes the color navy, with base64 encoded strings in the embedding_vector_dot and colorvect_l2 fields instead of arrays:

    {
        "id": "#000080",
        "color": "navy",
        "brightness": 14.592,
        "colorvect_l2": "AACA",
        "wheel_pos": "other",
        "verbs": [
            "deep",
            "rich",
            "sophisticated"
        ],
        "description": "Navy is a deep, rich color that exudes sophistication. It is a dark shade of blue that is often associated with authority, stability, and elegance. Navy is a versatile color that can be both bold and understated, making it a popular choice in fashion and interior design. It is a timeless color that never goes out of style and adds a touch of sophistication to any look or space.",
        "embedding_model": "text-embedding-ada-002-v2",
        "embedding_vector_dot": "i2YKOzXJwrsL+RQ77hrZuyqurLwbCXk8dzvIvC/qkLyVlzy8d8yIvBNleLwZfMc7ngAMvHp+z7xf0Q29RLigPD/V3zwQpLi8UWDoPP09Rbxmv7i7RaIEPffyZ7yIIwO80jmJvPi3NrvUfJA79UChvOlKIDzBB6S8FsoAPKQpaLz2mcS6udLivLEJzTw8ObW7oWiovMEHJLxXnMw7XNgwuzdWdDwDVRQ7vdo4vBt1JDt6NKW8jfM7vG4ZD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vw81rAePa7r2rngcpE7VKNvPJXhZjwgRd28gMksOzRLCj0ntU88gzHJvMtda7uEZdc8cVyWvMayxznlHbU84OHQPPcX/TooxEg9IbGIO36GJb0mXKw734itOzb9UDwwHh88OMKfu5JUNTtKl1I8eQAXuwrFBrzt5ko8wK4AvE56E70PJgC7gBPXvMEHJD3+GLC8ZUGAvPSvYDyb4pm7KlF6PN6twjsR/Vu79NR1vAx3zTxXLY27GQ2IvJxg0rzt5so8xTSPvLRMVL0ganK8G5o5vELzUbupr/Y6cPBqvDSVtLuyGMY8FSpHPI2pET3LpIG8L+qQvLnS4jy6l7G60SqQvEI9/LsPS5W8"
    },

    The following query uses a base64 encoded string for the same query as Running a Semantic Search Query with a Large Embedding Vector to return the document for navy:

    {
        "fields": ["*"],
        "knn": [
          {
            "field": "embedding_vector_dot",
            "k": 3,
            "vector_base64": "1uDEPDKcFbxxwGQ8yZ/KvJzMqLxr1tw7YnFNvLARzzuZypI2G9X3vLpQM7yYXai6jx7EO4RY0bujkIW8KpH5PAeq9Ty3+1a8Kr6UPBDPNbzHkS292ikauyEsarmewCG7SILuvOSCorzv9c48ND3IvEiC7jqnP1W8+iisPCxfx7tKauC8Hx7NvLIFSLuQZQM7N6zIu+xgozyjY2o6s2arO5fWmTt6JfQ71QbwO+J0hbwbr8y3fec6Oxdm9zvVWba7XGEau9FXILv7QtA8WIUvPdqWhLzGSu687ecxu71SyTsJeEO84MziPERACbx55aQ6pKqpOu+I5LzZdfC8RuG7t7/ze7wqvhS8+6+6vNR/4Tz5NLM5JVubPHtsMzzl74w892blOyZPlDynP9U8ArTmOlHBUrwpd9U60/hSPDjGbLrK5ok7zQ5Luw1UrrzS3i48/nGBPBeTkrs9VoG8eBdXukV0UbrS3q67FBiLvPP3ZDyIWmc8CcuJPEARWLy0QIA8P/ezPEq9pjxiBOM7ZOzUO7xe0DxG4bs7o2PqvM17tbvj+5O8NTFBusSpO7sPtRG764ZOPCbiKTpxmjm97Q3dPFkMvjw/3Y+9k41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 encoded strings in your Vector Search queries only if your documents use base64 encoded strings, indexed with the vector_base64 field data type. You cannot search for and return vectors you indexed as arrays with the vector field data type by using a Search query with a base64 encoded string.

    Next Steps

    If you do not get the search results you were expecting, you can change the JSON payload for your Search query.

    You can also customize your Search index with additional features.

    Either of the example queries on this page can also be used with the REST API to run a search.