C# | Visual Basic | Visual C++ |
public virtual ESearchReport.ESearchReport..::Mode MatchedMode{ get;}
Public Overridable ReadOnly Property MatchedMode As ESearchReport..::Mode
public: virtual property ESearchReport..::Mode^ MatchedMode { ESearchReport..::Mode^ get (); }
MatchedMode is different from SearchMode in that MatchedMode returns the match mode that was actually selected by the MDEX Engine, as opposed to the match mode that was requested in the query.
For example, assume that this query was issued to the MDEX Engine:
N=0&Ntk=all&Ntt=merlot+blackberry&Ntx=mode+matchallany
The query is searching for the terms merlot and blackberry and is requesting the match mode of MODE_ALL_ANY. This search mode will first attempt to perform a search that matches all of the terms; failing that, it will then perform a search that matches any of the terms. Assuming there are no occurrences of blackberry, the resulting match mode will be MODE_ANY.