Ratufa Documentation

Searching for Records

Search by ID

Every form submission has an auto-generated unique ID. The Submission ID is a short alpha-numeric string. Searching by ID is one of the fastest ways to find a submission record. Here is how you can find a record by its ID

id:yyis9986s

Where yyis9986s is the unique ID of the submission record

This is the same as

id=yyis9986s

Partial Matching

id ~ yyis

does a partial match. The query above will return all records that have yyis in anywhere in the ID

Search by Seq. ID

SeqID is a numeric ID assigned to each record. The difference between ID and SeqID is that SeqID is a number and the number follows the order of form submissions. That means a form submitted today will have SeqID larger than the one submitted yesterday. You can search for records by the exact SeqID like this:

seqid=445876715161

If you have the SeqID of a record, you can find the records submitted before that by searching:

seqid < 445876715161

Search by submission date

To search for all the records in 2021 you can search:

after:2020 before:2022

When you want only the submissions in 2021 May:

after:2021-04 before:2021-06

Similarly, when you want to find all old records before 2021:

before: 2021

Search by Form Field values

You can search by an exact value like this

fd.name="Steven Wright"

where name is a field in your form. (Remember that the field name is always case-sensitive. So Name is not the same as name)

Partial match

The query above (using =) does an exact match whereas The query below finds all records with Steven anywhere in the name

fd.name ~ steven

Numeric comparison:

fd.weight < 100

where weight is a field in your form

Search by Folder

By default, the form submissions are placed in an inbox folder. You can move the record to a custom folder.

The following searches for all records before 2021 in the "inbox" folder

before:2021 folder=inbox

Search by Tag

Tagging the record also helps organize the form submissions. One record can have any number of tags and each tag can be applied to any number of records.

This search is to find all records tagged open

tagged=open

Partial search by tag

A partial search can be done by tags as well.

tagged ~ sales

The query above will fetch records that were tagged sales pending or sales in progress

Combining multiple search operators

By default, all search operations are combined using AND.

tagged=open folder=inbox before:2021

means records that are tagged open, in the folder inbox submitted before 2021 Jan 1st

The operator | is for OR operator. So the search

fd.weight>100 | fd.height > 11.5

means that the form submissions having a field value weight greater than 100 or that of height greater than 11.5

Here is another search that searches for the record in the inbox folder but with one of the parameters

folder=inbox (fd.weight>100 | fd.height > 11.5)