def METHOD_NAME():
    # [START single_vector_search_with_filter]
    query = "Top hotels in town"
    search_client = SearchClient(service_endpoint, index_name, AzureKeyCredential(key))
    vector = Vector(value=get_embeddings(query), k=3, fields="descriptionVector")
    results = search_client.search(
        search_text="",
        vectors=[vector],
        filter="category eq 'Luxury'",
        select=["hotelId", "hotelName"],
    )
    for result in results:
        print(result)
    # [END single_vector_search_with_filter]