Introduction
The preezie logic/rules use “Lucene query syntax”.
...
Note |
---|
You will need to ensure that Special Characters are “escaped” for logic to function correctly. Special characters:Add a\ before a special character will “escape” the proceeding character from the search. |
Double Pipe ( || ) = OR
Basic Rules:
...
Search for the letters anywhere in a phrase with (*Stars*) so greenery or evergreen could be located with this rule. USE WITH CAUTION! | (*green*) |
Wild Card Search can also be used in other logic where appropriate. This rule can be used with other rules but needs to be wrapped in brackets | (*green*)||(*blue*)||red |
...
Proximity matching is where you can find multiple words within a specific distance from each other. e.g. Search for green and blue where they are within 4 words from each other. | "green blue"~4 |
...
product_type: | tags: |
---|---|
jumper | hoodie, wool |
Logic:
Answer 1. Woolen | (prodcutproduct_type:(jumper) AND tags:(hoodie)) AND tags:(wool) |
Answer 2. Not woolen | (prodcutproduct_type:(jumper) AND tags:(hoodie)) AND !tags:(wool) |
...
The example data below has all the data we need for all the answers in both the description and the tags.
Bold and colored for your convenience, these are the fields identified to fit with the answers above.
Some of this data may not be obvious, “gaming” is clearly defined in the description in Green, however, the tags are where the Refresh Rate 200Hz and the HDMI 2.1 make this a good gaming TV. Ensure you know what makes a product suitable for an answer. These can sometimes require some research.
desctiption: | tags: |
---|---|
<STRONG>Overview</STRONG> <P></P><P>Into the wonderful: experience the next evolution of LG OLED TV. Self-lit pixels allow spectacular picture quality, a host of design possibilities and cutting-edge Smart TV technologies designed to deliver everything you love about TV, elevated in every way. </P><P><STRONG>Key Features</STRONG></P><P><STRONG>Our best 4K OLED ever</STRONG><BR>See bright, sharp images with intense clarity, from an upgraded display. LG OLED evo uses an optimised next-generation OLED panel that refines the wavelengths of light and increases brightness. Evolve your viewing experience with an evolved display. </P><BR><FONT size=1>*FILMMAKER MODE™ is a trademark of UHD Alliance, Inc.</FONT></P><P><STRONG>It's game over for the competition</STRONG><BR>Get ahead of the game with swift response, cutting-edge gaming features and an ultra-smooth display. Create the ultimate gaming setup, with LG OLED TV. </P> | Screen type: OLED TVs, LG TV model: OLED G1 4K, Screen Resolution: 4K_Ultra HD, Screen Size (Inches): 77, Refresh Rate (Hz): 200Hz, Variable Refresh Rate (VRR): HDMI VRR, HDR (High Dynamic Range): True, Backlighting type: Self-lighting, Local dimming: True, 4K Ultra HD disc compatible: False, 4K streaming compatible: True, Noise reduction: True, Movie/cinema Mode (24 FPS): True, NTSC to PAL conversion: False, Picture In Picture: False, Streaming apps: 7Plus, Apple TV, 9Now, ABC iView, Amazon Prime, britbox, Disney+, Foxtel Now, Netflix, HDMI-CEC: False, HDMI inputs: 4, HDMI 2.1 inputs: 4, USB Ports: 3, Brand: LG, Category: TVs OLED 75" and above, Primary Category: TVs, Availability: Available Now |
...
Answer 2. Smart TV | description:(“smart tv”) OR tags:(7Plus||”Apple TV”||9Now||”ABC iView”||”Amazon “Prime||britbox||Disney\+||“Foxtel Now”||Netflix) |
In Answer 2 logic above there is a Special Character in the Disney+ part of the logic the ( + ) is a special character and needs to be escaped with a backslash ( \ ).
Answer 3. OLED Screen | (description:(OLED) OR tags:(OLED)) AND (description:(TV) OR tags:(TV)) |
...