Would be great to know why vector search does not ...
# community-help
s
Would be great to know why vector search does not really work out, as Text search does work on the provided example, e.g here:
Copy code
(base) said@said-HP-Laptop-17-cp3xxx:~$ curl "<http://localhost:8108/multi_search>" -X POST \rch" -X POST \
  -H "X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
    "searches": [
      {
        "collection": "nested_test",
        "q": "chunk",
        "query_by": "chunks.text"
      }
    ]
  }'
{"results":[{"facet_counts":[],"found":1,"hits":[{"document":{"Dense_Summary_Embedding":[0.1,0.2,0.3,0.4,0.5],"Summary":"This is an example summary of document 1","chunks":[{"text":"First chunk","vector":[0.1,0.2,0.3,0.1,0.2]},{"text":"Second chunk","vector":[0.4,0.5,0.6,0.4,0.5]}],"id":"1","title":"Test Document"},"highlight":{"chunks":[{"text":{"matched_tokens":["chunk"],"snippet":"First <mark>chunk</mark>"}},{"text":{"matched_tokens":["chunk"],"snippet":"Second <mark>chunk</mark>"}}]},"highlights":[],"text_match":578730123365187705,"text_match_info":{"best_field_score":"1108091338752","best_field_weight":15,"fields_matched":1,"num_tokens_dropped":0,"score":"578730123365187705","tokens_matched":1,"typo_prefix_score":0}}],"out_of":1,"page":1,"request_params":{"collection_name":"nested_test","first_q":"chunk","per_page":10,"q":"chunk"},"search_cutoff":false,"search_time_ms":0}]}