Azure search with wildcard not working

S, Mukesh Kumar (Cognizant) 1 Reputation point
2021-10-21T07:33:37.453+00:00

Hi Team,

Azure Cognitive Search with Wild card characters is not working as expected. We have a Part number Field which has a value "GGA26800IJHJJ". User is trying to search with "g*26800lj*" and expecting the result . But we are not getting the result as expected. Can you please help on converting this search string to get the desired results.

We gone through the documents provided in microsoft.com and we tried as below but nothing helps
g/\**/26800lj/\**/
g~26800lj~
g|26800lj
/.g*26800lj*./

Thanks
Mukesh

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
831 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,577 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SnehaAgrawal-MSFT 19,841 Reputation points
    2021-10-22T02:07:14.227+00:00

    Thanks for asking question! Could you try below synatx:

    {
    "search": "/g.26800ij./",
    "queryType": "full"
    }

    let us know if further query or issue remains.

    0 comments No comments