Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Barry Fogarty 493 posts 1129 karma points
    Nov 02, 2011 @ 12:15
    Barry Fogarty
    0

    Set Examine to allow certain stop words

    I would like to return result when someone seaches for 'IT' in my index.  Any ideas?

    I am using the StandardAnalyzer:

    <add name="MyMemberSearcher" type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
               analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" enableLeadingWildcards="true" />

  • Barry Fogarty 493 posts 1129 karma points
    Nov 03, 2011 @ 15:20
    Barry Fogarty
    0

    Bump..  anybody any ideas on where the excluded words are held for lucene?

  • Simon Dingley 1457 posts 3408 karma points c-trib
    Aug 22, 2022 @ 07:39
    Simon Dingley
    0

    A bit of a long shot Barry but did you ever find a solution to this? I need to allow (and boost) a particular stop word but only when the stop word exists in a property for a page. So, in my case, I need to boost the term "will" because that is the keyword required for users to find the website content relating to wills.

    I don't want to switch analysers because this is an exception and not the rule for all site searches.

  • PBrack 20 posts 42 karma points
    Nov 03, 2011 @ 16:40
    PBrack
    0

    I'm not sure if these words are editable - personally, I'd use a different analyser for this purpose.

    There's a nice article discussing different analysers here

Please Sign in or register to post replies

Write your reply to:

Draft