Content Manager 25.1 Content Manager

# Range searches

Many of the search methods in Content Manager enable you to use range searches - for example, a search by date range between 01 January 2000 and 31 December 2005, or a search for a record number range from 1999/0001 to 2001/12345 which would be a string or text range.

Content Manager displays the drop-down box More Search Options with range searches when you select a field that is suitable. These are typically date, number and string fields.

Date field range searches

When you select a date field to search by, you can choose to search by date range.

To do so from the Search pane, click the button More options for entering the search value, click More Search Options and select your range search from the options.

In the Search For Records dialogue, you would also use More Search Options to choose a range search.

A floating range describes a range that is pre-defined for you, and uses a range that does not use exact dates, but rather a time span like "last month".

Then just use the fields to enter your range criteria and click OK to run the search.

Using IDOL Query to search by date range

You can send a date range search directly to the IDOL Server by using the Content Manager search method IDOL Query. Using this search method, you need to use the IDOL syntax to build the query. A FieldText search using the RANGE option enables you to search using any of the indexed dates, specifically Date Registered and Date Created, in the IDOL format FieldText=RANGE{yourDates}:yourFields. For details on the IDOL syntax, refer to the IDOL Server Help files, but here are some examples for the syntax when you use it in the Content Manager field Enter the search criteria for a ... search:

Searching for records created on 01 January 2013:

*&FieldText=RANGE{1/1/2013}:TD_DATECREATED

Searching for records that were checked in to Content Manager in January 2013:

*&FieldText=RANGE{1/1/2013,31/1/2013}:TD_DATEREGISTERED

An OR search involving a date range where the title contains reef or it was created on 17 May 2013:

*&FieldText=STRING{reef}:TS_TITLE OR RANGE{17/5/2013}:TD_DATECREATED

If configured, Content Manager can use IDOL for any of its date searches. However, due to the limitations of OR searching and the complexities involved in constructing the query, by default, Content Manager redirects OR date searches automatically to the database, rather than the IDOL Server.

Number and string field range searches

When you select a number field to search by, you can choose to search by number range, for example between 101 and 200, or you can specify specific numbers to find, like 1, 3, 7, 13.

String fields are alphanumeric, which means they can contain letters and numbers.

Content Manager sorts the values in these fields alphabetically, not by number.

A selection of numbers, for example, would therefore appear in the following order:

- 1
- 10
- 2
- 20
- 30

As another example, to find 35, you would have to enter a range from 1 To 90000, not from 1 To 10000.

For string ranges, you can also use comparison operators like > (greater than), < (less than) and lists of string values.

To use a range search for string fields, select the one to use in the More Search Options field.

Range search method exceptions

- When you leave the To field blank, Content Manager performs a wildcard search
- When the To field contains text, Content Manager performs a range search

Related information

Copyright 2008-2025 Open Text
Version 25.1 | Last updated January 2025
Contact

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to hprmdocumentation@microfocus.com.

We appreciate your feedback!

Product: Content Manager 25.1

Topic Title: Range searches