locked
Azure Search filtering won't work RRS feed

  • Question

  • Filtering won't work for me either from the azure portal with query https://x.search.windows.net/indexes/xx/docs?api-version=2016-09-01&search=lorem&filter=language%20eq%20'sv' nor the api, whats wrong?
    Wednesday, August 23, 2017 11:56 AM

Answers

All replies

  • I want to show search results based on the users language. So I have a language field which is filterable. But I still get results in other languages. I'm trying to query in the azure portal.

    I attached an image at twitter but I get this error message when trying to attach it here: "Body text cannot contain images or links until we are able to verify your account"

    Regards

    Jonas

    Friday, August 25, 2017 8:48 AM
  • Can you please post the query.

    Also, you can post the image after verification of your account.

    Regards

    Kapil


    Please Mark as Answer if my post works for you or Vote as Helpful if it helps you. Kapil Singh

    Friday, August 25, 2017 10:29 AM
  • I've verified my account, logged out and in, but still can't attach an image.

    The query is:
    https://itab.search.windows.net/indexes/itab-content/docs?api-version=2016-09-01&search=lorem&filter=language%20eq%20'sv'

    Regards

    Jonas

    Tuesday, August 29, 2017 12:27 PM
  • Try the parameter name '$filter' instead of 'filter'.
    Tuesday, August 29, 2017 3:33 PM
    Moderator
  • thanks
    Wednesday, August 30, 2017 6:26 AM