but i used to make queries that had the exclude_fi...
# community-help
d
but i used to make queries that had the exclude_fields
Copy code
const searchRequest = {
      searches: [
        {
          collection: IndexNames.onde_sites,
          q,
          query_by: "embedding,title,description",
          vector_query: "embedding:([], alpha: 0.4)",
          filter_by: filter_by,
          sort_by: `_text_match:desc,location(${lat}, ${lng}):asc`,
          exclude_fields: "embedding",
          prefix: false,
          ...getPaginationFromSearchParams(searchParams),
        } satisfies MultiSearchRequestSchema,
      ],
    };