SEARCHING: Range Searches

Range searches allow you to match documents whose field(s) values are between the lower and upper value specified by the range search. Range searches can be inclusive or exclusive of the upper and lower bounds. Sorting is done alphabetically.

Using square brackets performs inclusive range searches:

This will find documents whose “Branch Name” field has values between “Bristol” and “Chester” inclusive.

Using curly brackets performs exclusive range searches:

This will find all documents whose “description” fields have values between “Bristol” and “Chester”, but not including “Bristol” and “Chester”.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: