Partial string search for content field

Muhammad yousuf 21 Reputation points
2020-06-24T07:15:58.023+00:00

We are using to search partial string from large string but find no result.

For example we are searching partial string

SWC330-32-O43

from content field data

nI *8789 IJ001ESWC330-32-040-PT-C669\n\n| ZqtrcpX\n\ I 70888 )\n3\SAKR J000ESWC330-32-O43670\n\nP/N: C2483T300-

Your reply will help us more to understand the reason

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.
712 questions
0 comments No comments
{count} votes

Accepted answer
  1. Heidi Steen 76 Reputation points Microsoft Employee
    2020-06-25T15:26:48.537+00:00

    We have an article that covers partial string search with hyphenated content: https://learn.microsoft.com/en-us/azure/search/search-query-partial-matching

    The test cases used to write that article are similar to the example you provided in your question. On the indexing side, assign an analyzer to that field that keeps the string whole. On the query side, your partial query might now just work: SWC330-32-O43. Mine did. But if it doesn't, you should add wildcard operators /.SWC330-32-O43.

    0 comments No comments

0 additional answers

Sort by: Oldest