Wie lässt sich ein einziger Platzhalter-Suchfilter erstellen, der die Suche nach mehreren nicht aufeinander folgenden Keywords ermöglicht?
Eine Suche nach "Quarz Sphinx" könnte beispielsweise "Sphinx aus schwarzem Quarz, richte über mein Versprechen" als Ergebnis liefern.
[Produktname suchen]="" //alles anzeigen, wenn der Parameter leer ist, d. h. alles ist TRUE OR ( CONTAINS(LOWER([Produktname]),LOWER(SPLIT([Produktname suchen]," ",1))) //wenn [Produktname] nur den ersten eingegebenen Suchbegriff enthält AND ( SPLIT([Produktname suchen]," ",2) = "" //wenn kein zweiter Suchbegriff vorhanden ist, einfach TRUE zurückgeben OR CONTAINS(LOWER([Produktname]),LOWER(SPLIT([Produktname suchen]," ",2))) //prüfen, ob der zweite Suchbegriff auch in [Produktname] ist ) AND (SPLIT([Produktname suchen]," ",3)="" OR CONTAINS(LOWER([Produktname]),LOWER(SPLIT([Produktname suchen]," ",3)))) AND (SPLIT([Produktname suchen]," ",4)="" OR CONTAINS(LOWER([Produktname]),LOWER(SPLIT([Produktname suchen]," ",4)))) AND (SPLIT([Produktname suchen]," ",5)="" OR CONTAINS(LOWER([Produktname]),LOWER(SPLIT([Produktname suchen]," ",5)))) )
[Produktname suchen]=""
OR CONTAINS(LOWER([Produktname]),LOWER(SPLIT([Produktname suchen]," ",1)))
OR (
NOT SPLIT([Produktname suchen]," ",2)=""
AND CONTAINS(LOWER([Produktname]),LOWER(SPLIT([Produktname suchen]," ",2)))
) //Wenn der 2. Suchbegriff NICHT leer und in [Produktname] enthalten ist, dann TRUE zurückgeben
OR (NOT SPLIT([Produktname suchen]," ",3)="" AND CONTAINS(LOWER([Produktname]),LOWER(SPLIT([Produktname suchen]," ",3))))
OR (NOT SPLIT([Produktname suchen]," ",4)="" AND CONTAINS(LOWER([Produktname]),LOWER(SPLIT([Produktname suchen]," ",4))))
OR (NOT SPLIT([Produktname suchen]," ",5)="" AND CONTAINS(LOWER([Produktname]),LOWER(SPLIT([Produktname suchen]," ",5))))
001456801
1318 KB

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.