Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum

MSE: Search keywords evaluated as whole words or is stemming supported

Posted on by

Hi,

A question has arisen around the application of the keywords in the search topics.

When evaluating a keyword search rule does the system support stemming? i.e. would a keyword "apple" only return posts with the whole word "apple" or would it return words starting with apple e.g.

Is this implemented in a similar fashion for Keywords, Inclusions & Exclusions?

Thanks, Craig

 

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MSE: Search keywords evaluated as whole words or is stemming supported

    That didn't help much.

    What I ended up doing is this:

    6404.find_5F00_Job_5F00_title_5F00_that_5F00_contains_5F00_AR.png

    I filtered out ARa, ARb, ARc, ARd, ARe, ARf... This can not be the best way to do it, but it works.

    Thanks,

    -Paxton

  • Verified answer
    mscrmba Profile Picture
    mscrmba on at
    RE: MSE: Search keywords evaluated as whole words or is stemming supported

    No - Keywords are exact (but not case-sensitive).

    Sorry it's such a long post but:

    From the training materials:

    Add keywords to search for

    Keywords define the words and phrases to listen for. Keywords are exact but not case-sensitive. We recommend that you include variations of the keywords. For example, if you put “phone” and the term that appears in a post is “phones,” your result won’t be selected by the search rule, and won’t show up in your analysis. For each keyword, the comma serves the function of “OR.” If you have added more than one search term, your search rule looks to find at least one of the listed terms. Also, think about adding acronyms and common contractions. It’s important to review keywords regularly. If your keywords yield too many results, think about narrowing the search rule by adding inclusions and exclusions or reducing the number of keywords. More information: Refine your search rules

    Note that sentiment analysis in Social Engagement is target-specific. A post’s sentiment value always refers to the keywords of a search rule only. For example, if you’re looking for sentiment values about your brand, make sure to add your brand name as keywords.

    For example, let’s assume you want to listen to posts about a product, manufactured by Contoso. You could add the keywords to a search rule like this: Product name, #prodname, Name of the product. All posts that mention one of these keywords will result from the search rule.

    Add inclusions to a keywords rule

    Narrow down your search so you get a much higher quality selection of posts and results. Think of inclusions as the word “AND.” Your search will be filtered so that posts are selected only if they contain at least one of the keywords AND at least one of the inclusions. Inclusions aren’t case-sensitive.

    When listening to posts about a product, you want to make sure the posts relate to a product in the manufacturer’s portfolio. Consider adding different spellings of the brand or company name to find posts that mention Contoso’s product. For example, you could add something like this to the inclusions: #contoso, Contoso, @contoso. All posts that mention one of the keywords and one of the inclusions are now found by this search rule.

    When you set up your search rule, you can choose from the following options to decide how close a keyword and an inclusion must appear in a post:

    Sentence: Keywords and inclusions must appear in the same sentence.

    Paragraph: Keywords and inclusions must appear in the same paragraph.

          Post: Keywords and inclusions must appear in the same post.

    We recommend starting with the default option (paragraph). If your search topic yields too many irrelevant results, try narrowing it to the proximity in a sentence. Note that this may also remove relevant posts because all combinations of inclusions and keywords outside of a sentence will no longer be picked up by the keywords rule.

    53

    Inclusions are an efficient way to reduce the number of posts resulting from your search, and are a great way to make sure you stay within your quota.

    Exclude terms from a keywords rule

    Sometimes a specific word or phrase can overwhelm your results with irrelevant posts. With exclusions, you can narrow down your searches and improve your results. Enter the words to exclude, separated by commas, and your searches will ignore posts containing these terms. Exclusions aren’t case-sensitive. For every term you add to the exclusions, your search will be filtered so that posts won’t be selected if they match one of the keywords but contain any of the added exclusion in the same post. Think of exclusions as the term “AND NOT.”

    For example, let’s assume you’re not interested in discounts or offers around Contoso’s product. To avoid results that contain either “discounts” or “offers,” add the terms to the search rule’s exclusions. All posts that mention at least one of the exclusions in the same post as a keyword will no longer result from this rule.

    To exclude multiple terms from appearing with a keyword, the exclusions must be added to the same search rule. If one rule searches for "Contoso" while excluding "discounts" and another rule searches for "Contoso" while excluding "offers", the search topic will select all posts mentioning "Contoso" that don’t contain both "discounts" and "offers". Whereas if a query searches for "Contoso" while excluding "discounts, offers," it excludes all posts mentioning "Contoso" that don’t contain either "discounts" or "offers".

    To exclude multiple terms from appearing with a keyword, the exclusions must be added to the same search rule. If one rule searches for "Contoso" while excluding "discounts" and another rule searches for "Contoso" while excluding "offers", the search topic will select all posts mentioning "Contoso" that don’t contain both "discounts" and "offers". Whereas if a query searches for "Contoso" while excluding "discounts, offers," it excludes all posts mentioning "Contoso" that don’t contain either "discounts" or "offers".

    You can exclude terms from all active search rules at once by adding a term to the list of blocked content. More information: Manage the quality of your search results

    Exclusions are an efficient way to reduce the number of posts resulting from your search, and a great way to make sure you stay within your post quota. Choose your exclusions carefully to avoid missing relevant posts.

    Handle special characters in keywords, inclusions, and exclusions

    Exact searches are critical to successful social listening. Special characters are often used in brand or product names in the form of connectors. Social Engagement interprets the special characters +, &, /, and - as separate entities in a search rule.

    For example: Searching for the term “City Power & Light” will result in posts that mention this term in all combinations of whitespaces. Posts that contain either of the following terms (not case-sensitive) will be picked up by the search:

    City Power & Light (whitespaces before and after the special character)

    City Power& Light (whitespace after the special character)

    City Power &Light (whitespace before the special character)

    City Power&Light (no whitespaces before and after the special character)

    Additional special characters for Twitter

    Authors on Twitter regularly use #hashtags, $stocktweets or @mentions. Use the special characters for Twitter if you want to search explicitly for #hashtags, $stocktweets, or @mentions. Social Engagement interprets those terms as unique entities when added to a search rule.

    For example, searching for the term #contoso will only find results that contain the exact match of the hashtag.

    Limitations on topic names, keywords, inclusions, and exclusions

    Although you can create an unlimited number of search queries per search topic, there is a limit on the length and number of terms.

    Maximum length, in characters, of search topic names: 35.

    Maximum length, in characters, per keyword, inclusion, and exclusion: 128.

    Maximum number of keywords per search rule: 15.

    Maximum number of inclusions per search rule: 15.

    Maximum number of exclusions per search rule: 25.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MSE: Search keywords evaluated as whole words or is stemming supported

    I have same problem. I want to use Advanced Find to reference all people with "AR " in their job title. Dynamics cuts out the space from my search criteria and returns results including the words mARketing, softwARe, etc...

    How can I isolate whole word matches?

    Either that or another workaround would be to match by case. If anyone knows how to do either it would solve my problem.

    Thanks, Paxton

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans