/
Query syntax

Query syntax

The q-parameter is the main query for the request. Every call to the Select-resource should at least have the q-parameter. This parameter contains the value on which a search will be executed. The default query schould at least contains 3 characters next to the used wildcards.

Queries which take more than 5 seconds to be executed, will be interrupted and return an empty result.

Modifier

Default search

If only keywords are specified in the q-parameter, then a search will be done on the indexes TITLE, CONTRIBUTORS(authors) AND SUBTITLE AND KAYWORDS AND SERIES(collections) .

Example

Searches on multiple values or keywords can also be achieved by separating each value with an HTML-encoded white space (%20):

Example

Modifier

Advanced search

Our search engine has a lot of fields/information on which a search can be done. By specifying an index in the q-parameter, an advanced search can be constructed.

Example

Available indexes:

Index name

Type

Detail

Index name

Type

Detail

PRODUCT_ID

long

ID of product

EAN

long

EAN-13

DBPGROUP

int

ID of a group of suppliers

DBPROVIDER

int

ID of a supplier

DBS

int

ID of a webshop

PRODUCTAVAILABILITY

int

Code indicating the availability of a product from a supplier onix_code_productavailability.pdf

PUBLISHINGSTATUS

int

Code which indicates the status of a published product onix_code_publishingstatus.pdf

PRICETTC

float

The price amount

PRODUCTFORM

string

Code which indicates the primary form of a product onix_code_productform.pdf

CURRENCYCODE

string

An ISO standard code identifying the currency

PUBLICATIONDATE

int

Nominal date of publication (format: YYYYMMDD)

TITLE

string

The title element refers to an individual product

SUBTITLE

string

The subtitle element refers to an individual product

PUBLISHER

string

Publisher of the product

CONTRIBUTORS

string

The contributor(s) (authors) of a product

LANGUAGE

string

The language(s) of the text of a product

TITLEOFSERIES

string

Title of a collection of which the product is part

SUPPLIERNAME

string

The name of a supply source from which the product may be ordered by a trade customer

LAST_MODIFIED

date

The last date on which the product information has been modified

NUR

string

Nurcode (Nederlandstalige Uniforme Rubrieksindeling)

CSR

string

Code for French book

BIC

string

This is BIC's Subject Categories and Qualifiers Scheme

CLIL

string

Intended to classify the different categories of paper books and digital books for the use of all actors of the interprofession

THEMA

array string

Classification thematic http://editeur.dyndns.org/thema

KEY_WORDS

array string

Where multiple keywords or keyword phrases are sent in a single instance

NSTC

string

NSTC stands for Dutch Standard Text Code and groupes different ISBNs that tell the same story in the eyes of consumers

IMPRINT

string

Imprint of the product, as well as those of other associated entities, eg co-publishers. It may also carry details of a contact responsible for responding to promotional or sales queries about the product

Modifier

Range search

A range query selects results with values between a specified lower and upper bound. Range queries work on numeric fields, date fields, and even string and text fields.

Example

Available indexes on FACET

Index name

Type

Detail

Index name

Type

Detail

IMPRINT_FACET

string

facet for imprint

PUBLISHER_FACET

string

facet for publisher

CONTRIBUTORS_FACET

string

facet for contributors

TITLEOFSERIES_FACET

string

facet for title of series

Example

Modifier

Wildcard search

Our search engine supports single- and multiple character wildcard searches within single terms. Wildcard characters can be applied to single word-searches, but not to multiple-word searches.

Wildcard Searches Type

Special Character

Wildcard Searches Type

Special Character

Single character (matches a single character)

?

Multiple characters (matches zero or more sequential characters)

*

Example

The Wildcard search can be used to create an autocomplete-function. At least 3 characters must be given

Modifier

Boolean Operators

Boolean operators allow you to apply Boolean logic to queries, requiring the presence or absence of specific terms or conditions in fields in order to match documents. The table below summarizes the Boolean operators supported by our search engine:

Boolean Operatior

Alternative Symbol

Description

Boolean Operatior

Alternative Symbol

Description

AND

&&

Requires both terms on either side of the Boolean operator to be present for a match.

NOT

!

Requires that the following term not be present.

OR

||

Requires that either term (or both terms) be present for a match.

 

+

Requires that the following term be present.

 

-

The - operator is functionally similar to the Boolean operator !.

Boolean operators allow search-values to be combined through logic operators.

Example

Related content