Clément
Clément

Reputation: 729

Azure Search API does not find indexed document despite correct query

Using Azure Search REST API v2016-09-01, the following query find the expected document:

?queryType=full&search=id:3119443 AND name:du*
{
  "value": [
    {
      "@search.score": 4.425995,
      "id": "3119443",
      "name": "dupond"
    }
  ]
}

Whereas the following broader query (searching d* instead of du*) does not find the same document:

?queryType=full&search=id:3119443 AND name:d*
{
  "value": []
}

The name field uses a custom analyzer with the Whitespace tokenizer and the WordDelimiterTokenFilter, AsciiFoldingTokenFilter and Lowercase token filters.



Thank you.

Upvotes: 0

Views: 145

Answers (1)

Nate Ko
Nate Ko

Reputation: 933

Thanks for reporting the issue. As commented, this is a regression introduced in a recent change. The bug has been fixed. Thanks.

Upvotes: 1

Related Questions