- Type:
string
- Default:
""
- Scope:
search
Usage
- Build the
similarQuery
from relevant object metadata, such as tags, categories, or keywords. - This query isn’t generated automatically.
You must select meaningful terms manually.
For example, a
similarQuery
for a movie could include its genre, key actors, and tags, such as:Romance Comedy Gordon-Levitt NY
.
-
Sets
queryType
toprefixNone
—turns off prefix matching. -
Enables
removeStopWords
—removes common stop words like “the”, “a”, or “an”. - Sets Words as the first ranking criterion—results with more exact matches rank higher.
-
Treats all remaining words as
optionalWords
:- Matches any (not all) of the words in the query (
OR
behavior). - Due to the broader match, you should apply filters to narrow the results.
- Long queries may trigger specific behavior related to
optionalWords
with four or more words.
- Matches any (not all) of the words in the query (
Example
Search with similarQuery
The following example demonstrates the construction of a similarQuery
from a record for the movie “Fargo”:
similarQuery
to extract words from genres
, cast
, and director
as a long query string.
This search returns many results because all words are optional.
To ensure you get the best results, add a filter
on release dates within five years of Fargo’s: filter
= “year:1991 TO 2001”
Current API clients
Current API clients
Legacy API clients
Legacy API clients