連続していない複数のキーワードによる検索を可能にする単一のワイルドカード検索フィルターを作成する方法。
たとえば "quartz sphinx" の検索は "Sphinx of black quartz, judge my vow" が返されます。
[Search Product Name]=""//show everything if the parameter is blank, aka everything is TRUEOR ( CONTAINS(LOWER([Product Name]),LOWER(SPLIT([Search Product Name]," ",1))) //if [Product Name] contains the first typed search term AND ( SPLIT([Search Product Name]," ",2) = "" //if there isn't a second search term, just return TRUE OR CONTAINS(LOWER([Product Name]),LOWER(SPLIT([Search Product Name]," ",2))) //check that the second search term is also in [Product Name] ) AND (SPLIT([Search Product Name]," ",3)="" OR CONTAINS(LOWER([Product Name]),LOWER(SPLIT([Search Product Name]," ",3)))) AND (SPLIT([Search Product Name]," ",4)="" OR CONTAINS(LOWER([Product Name]),LOWER(SPLIT([Search Product Name]," ",4)))) AND (SPLIT([Search Product Name]," ",5)="" OR CONTAINS(LOWER([Product Name]),LOWER(SPLIT([Search Product Name]," ",5)))))
[Search Product Name]=""OR CONTAINS(LOWER([Product Name]),LOWER(SPLIT([Search Product Name]," ",1)))OR ( NOT SPLIT([Search Product Name]," ",2)="" AND CONTAINS(LOWER([Product Name]),LOWER(SPLIT([Search Product Name]," ",2)))) //If the 2nd search term is NOT blank and is contained in [Product Name] then return TRUEOR (NOT SPLIT([Search Product Name]," ",3)="" AND CONTAINS(LOWER([Product Name]),LOWER(SPLIT([Search Product Name]," ",3))))OR (NOT SPLIT([Search Product Name]," ",4)="" AND CONTAINS(LOWER([Product Name]),LOWER(SPLIT([Search Product Name]," ",4))))OR (NOT SPLIT([Search Product Name]," ",5)="" AND CONTAINS(LOWER([Product Name]),LOWER(SPLIT([Search Product Name]," ",5)))) 001456801

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.