Home
About
Contact

MuZeeker Query Syntax 

Table of content
 
Default behaviour
AND query 

By default, the search engine uses a Boolean AND query of all the query terms. This means that the engine will only return documents that contain ALL the query terms but in no particular order.

Example: american idiot green day

  • Matches the text "... Green Day album called American Idiot...".
  • Should this query not return any results, the query is relaxed and resubmitted.

    If the default queries are either too broad or too narrow, the query syntax includes a number of operators which can be used to improve the query.

    To top of page

    Category filters
    Result filtering 

    Syntax: Sub-Query -cat:"Category Name" or Sub-Query -cat:"Category Name1 | Category Name 2 | ..."

    The query syntax allows filtering by using predefined categories.

    When a query is submitted, some categories are shown to the left of the results which can used as filters by clicking on them.

    However, the category filter can also be applied when the query is submitted. This is done by using the Category operator. Note that several categories can be used simultaneously by seperating the category names with "|".

    Examples:

  • The query: "American Idiot" -cat:"Green Day albums"
  • Matches only documents in the "Green Day albums" category.
  • The query: "American Idiot" -cat:"Green Day albums | Green Day songs"
  • Matches documents in either of the categories, i.e. the "Green Day albums" category or the "Green Day songs" category.
  • To top of page

    Or operator
    OR query 

    Syntax: Term1 OR Term2 or Sub-Query1 OR Sub-Query2

    This operator is used for a Boolean OR query.
    This means that any document containing any of the query terms will be a match for the query.

    Example: Rolling OR Stones.

  • Matches text containing either of the two terms.
  • The OR operator can also be used as an operator for two sub-queries.

    Example: "The Rolling Stones" OR "The Stones"

  • Matches text containing either one of the two Exact queries.
  • To top of page

    Exact operator
    EXACT query 

    Syntax: "Term1 Term2 ... TermN"

    This type of query is used to match all the query terms in the order they appear.

    Example: "The Stones"

  • Does not match the text "...The Rolling Stones album..."
  • Matches the text "...The Stones album..."
  • The exact operator can also be used for more than one query at once.

    Example: "The Rolling Stones" "The Stones"

  • Matches only text containing both of the exact phrases.
  • To top of page

    Not operator
    NOT query 

    Syntax: -not:"term1 term2 ... termN"

    This operator can be used to exclude documents with certain terms.

    Example: "Green Day" -not:"American Idiot"

  • Matches text containing "Green Day" but excludes any documents containing the phrase "American Idiot".
  • To top of page

    Order operator
    ORDER query 

    Syntax: -order(I):"term1 term2 ... termN" or -order:"term1 term2 ... termN"

    This operator can be used to relax the EXACT operator by allowing at most I terms between the query terms although still only matching documents with all the query terms in the submitted order.

    If no distance metric is given, document matching all the terms in the submitted order regardless of distance between them will be matched.

    Example: -order(2):"Green Day American Idiot"

  • Matches the text "... new Green Day album named American Idiot is out now..."
  • Does not match the text "... new Green Day album provocatively named American Idiot is out now..."
  • Using the operator with 1 as the distance metric, the operator is evaluated the same way as an EXACT query.
    Furthermore, omitting the distance metric, both of the above texts would be matched.

    The operators can be used along with other operators, thus giving the user a flexible syntax to build the queries needed to find the most relevant information.

    To top of page