@@ -15,17 +15,32 @@ In general, a query looks like ``keyword: value``.
Multiple attributes can be included in a query (ex: ``key1: val1 key2: val``).
The sections below show different attributes that can be queried on and the corresponding syntax.
Some information on combining queries is provided at the end.
Event queries
=============
**NOTE:** clicking the 'Get neighbors' checkbox will result in an additional neighbors query for each item in the search results, and the neighbors are thus shown in the results table. However, this causes the overall query to take longer, which is why it is un-checked by default.
By instruments
--------------
Order matters, because the instruments are stored in the database as a string.
Examples:
- ``instruments: "H1,L1,V1"``
- ``instruments: "V1,L1"``
By false alarm rate
-------------------
- ``far < 1e-7``
- ``far: 3.6823e-4``
- ``far >= 2e-9``
By event attributes
-------------------
Relational and range queries can be made on event attributes.
Relational and range queries can be made on selected event attributes.
Examples:
- ``instruments = "H1,L1,V1" & far < 1e-7``
- ``singleinspiral.mchirp >= 0.5 & singleinspiral.eff_distance in 0.0,55``
Queries can be combined by separating them with a space.
This effectively "AND"s them.
Do not use binary operators like '&' or '|' except between labels in a label-based query or in a query on selected event attributes (see examples above).