There are a couple of rules that make your life easier when defining a power search. Read below to know more.
- Previous Article: [1/3] The Power Search: Basics
Searching All Properties
In the basic triplet, instead of defining a specific property to search in, you can use the asterisk (*) to search through all properties that exist on the Signals. Example:
* CONTAINS "wireless energy"
=>This will return all Signals where any property, so the title, the summary, the extended description (and technically also any other property like country) contains the sequence of characters wireless energy.
This can, of course, also be used inside compounds. Example:
(* CONTAINS "wireless" OR * CONTAINS "transfer")
Matching Multiple Values
In order to make it easier to enter multiple options for properties like country, we support the IN operator used in conjunction with a list of values in square brackets. Consider this example:
country IN ["US", "DE"]
=> This will return all Signals that have been published either in the US or in Germany. It equates to the following more verbose query:
(country = "US" OR country = "DE")
This is especially valuable if you want to add many values as it reduces the size of the query substantially and makes it easier to read.
In order to allow for simple search, you can also just enter a search term in quotation marks into the power search:
This equates to the following query, performing a fuzzy search on all properties.
* ~ "wireless energy"
We have added a way of facilitating the usage of comparison operators for querying values between two options. Example:
500 < newsSiteDomainRank < 1000
This will return Signals whose source have an Alexa ranking between 500 and 1000 and it equates to the following search:
(newsSiteDomainRank > 500 AND newsSiteDomainRank < 1000)
- Continue with: [3/3] The Power Search: Cheat Sheet