Shinydocs Pro

Catalog - Advanced Search

Advanced search lets you write a query in the Catalog that combines fields, dates, sizes and operators. It is always available; there is no feature flag to turn on.

Write a query

In Control Center (https://localhost:9701 or https://<custom-control-center-url>), select Catalog, then select the </> icon at the start of the search box. The box switches to a query editor. Type your query and select Run.

cc-advsearch-26-5-01-query-box.png

The query shows above the results as an Advanced Query filter. It works together with any column filters. Select × on the filter, or Clear filters, to remove it.

cc-advsearch-26-5-03-results.png

Field suggestions

As you type a field name, a list of matching fields appears. Select one to add it to your query, or keep typing.

cc-advsearch-26-5-02-suggestions.png

If you use a field name the Catalog doesn’t recognize, it is underlined in red.

Search Term Formatting

Below is a list of the different fields types and examples of how they are formatted.

Field Type

Description

Example

String

A standard text field; like name, path, extension, etc.

name:shinydocs or
extension:pdf

Date

A date field (like creationTimeUtc and lastWriteTimeUtc) where the query term has to follow a specific format; like YYYY-MM-DD or now-#d/w/M/y

creationTimeUtc: >=2025-12-31 or
lastWriteTimeUtc: <now-1y

Number

A number field (like length) where the query term has to be a number value.

length: >1073741824 (1 GB)

Boolean

A boolean field (like meta-protected) will be a value of true or false.

meta-protected:true

Search Term Operators

Below is a list of the primary operators you can use to narrow and broaden your search.

Operator

Usage

Example

AND

Tells the system that all connected search terms must appear in your results.

name:shinydocs AND extension:docx

OR

Tells the system to find any of the connected search terms.

extension:docx OR extension:pdf

NOT

Tells the system to exclude specific search terms, removing unwanted concepts.

name:shinydocs NOT extension:log

Additional Search Term Operators for Number and Date Fields

Below is a list of additional operators used for date and number fields specifically.

Operator

Usage

Example

>

Greater than

creationTimeUtc: >2025-12-31

>=

Greater than or equal to

length: >=1073741824 (1 GB)

<

Less than

meta-pageCount: <10

<=

Less than or equal to

lastWriteTimeUtc: <=now-100d

[date TO date]

Value is between two date values

datetime: [2026-01-01 TO now-7d]

[# TO #]

Value is between two number values

length:[1048576 TO 10485760] (1MB to 10MB)

Search Term Modifiers

Below is a list of modifiers that provide further options for your search terms.

Modifier

Usage

Example

( )

Parentheses: Groups concepts together to control the order of operations.

name:shinydocs AND (extension:docx OR extension:pdf)

" "

Quotation marks: Searches for an exact phrase in a search term.

name:"shinydocs template"

*

Truncation/Wildcard: Finds variations of a search term.

name:temp* would return results with temp, temporary, template, etc.

rot_obsolete:* would return results with any value in that field; “log”, “old draft”, “unused”, etc.

Unique and Hidden Fields

Below is a list of fields that have unique naming or don’t appear in the field suggestions.

Field Name

Usage

Example

creationTimeUtc

The field behind the Created column in the Catalog. Use “creationTimeUtc” in a query, not “Created”.

creationTimeUtc: >2025-12-31

lastWriteTimeUtc

The field behind the Modified date. It doesn’t appear in the field suggestions, so type it in full.

lastWriteTimeUtc: >2025-12-31

_index

Limits a query to one source. Use the source’s index Name or Alias, shown under Index information on the source page. The query editor underlines _index in red, but the query works.

cc-advsearch-26-5-04-index-info.png

To filter by source without a query, use the Source column filter instead.

_index: a88c07a7-b189-4012-b479-8467703fc969 or

_index: city-of-oakhaven-0

<string field>.keyword

All string (text) fields also have an accompanying .keyword field. So the “name” field also has a “name.keyword” field.

The .keyword field is helpful if you want to find a value of a field that is an exact match of your search term. These fields don’t appear in the field suggestions.

If the value contains spaces you need to use quotation marks.

You can use a Truncation/Wildcard (*) but not combined with quotations.

name.keyword: "shinydocs copy.docx" or

name.keyword: *copy.docx or

name.keyword: shinydocs*