Copied to clipboard

Flag this post as spam?

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


  • Mario Lopez 168 posts 952 karma points MVP 3x c-trib
    Jan 19, 2021 @ 23:37
    Mario Lopez
    0

    Examine: Boost not working when using wildcards.

    I have some issues with the trailing wildcard. As explained in this Stack overflow question when I use the wildcard, the boost of the field doesn't work.

    The solution given in that post is to set the QueryParser as

    myCustomQueryParser.SetMultiTermRewriteMethod(MultiTermQuery.SCORING_BOOLEAN_QUERY_REWRITE)
    

    But I can't find where to get the parser from the searcher.

    Any ideas to point me to the right direction?

Please Sign in or register to post replies

Write your reply to:

Draft