What operators does Athento search allow?

Tabla de contenidos

Simple text search

Percent (%) and Asterisk (*) for text search

Simple text search supports these two operators as wildcards. Searches with wildcards or operators (* or %) are performed on the title and on all fields existing in the document.

text-search.png

 

For example, if we search:

ATH202%

 

Athento will return documents that contain in their title or field values ATH202 followed by any other set of characters.

 

The search would return documents like:

asterisco-y-porcentaje.png

 

If we search:

ampliación*número*eur

Athento will return ampliación + any text + número + any text + eur

asterisco.jpg

 

If we are not sure in our search from the example whether our documents contain “eur” or “euro” or “euros”, we can write the search as follows:

ampliación*número*eur%

con porcentaje.jpg

Quotation marks (“”) for text search

We can also search for an exact expression using quotation marks.

 

 

Advanced search

Athento allows the use of other more user-friendly operators. These operators may not be available for all filter types.

 

In / Between

Indicates that the criterion by which it is filtered matches one of the options in a set. For example:

 

Space IN Space A and Space B

It will return documents that are located in Space A or in Space B.

 

in.png

 

 

Exact / Exact

Returns an exact match. It is case-sensitive.

exact.png

 

Exact insensitive / Case-insensitive exact

Returns an exact match, it ignores the presence of uppercase or lowercase letters.

INSENSITIVA.png

 

Contains / Contains

Searches for a string or expression contained in the title of the documents or in field values. It is case-sensitive. Use the “Contains insensitive” option if you do not want to take uppercase or lowercase into account.

contains.png 

Starts with / Starts with

Returns documents whose title begins with the indicated string or expression. You can select whether you want it to be case-sensitive or not.

STARTS-WITH.png

 

Ends with / Ends with

Returns documents whose title ends with a given string or expression. You can indicate whether you want it to be case-sensitive.

ends-with.png

Empty/ Empty,  Not Empty/ Not empty, With Value/ With value

Advanced search by field values generally supports the filters:

  • Empty/ Empty: Returns documents in which there is no value for that field.
  • Not Empty / Not empty: Returns documents that have values in the field.
  • With value / With value: This filter is used to search by a value. Athento offers us different possibilities depending on the field.

with-value.png

 

Search by date-type fields

The supported options to search by a value are:

  • <, >, >=,<=, == than an exact date. It allows us to search by a reference date.
  • days/moths/weeks ago : the field value is TODAY and the last X days, weeks or months. 
  • days/moths/weeks forward: the field value is TODAY and the next X days, weeks or months. 
  • range (range): the field value is between two exact dates.

 

User-type fields

User-type fields, in addition to allowing us to search for a specific value, allow us to search by Current User (Current User). This filter means that it will return documents in which the field takes the value of the username that is making the query.

current-user.png

This will allow us to find documents in which, for example, I am assigned as Account Manager.

 

Logical operators of advanced search

Advanced search supports the use of the AND (Y) and OR (O) operators to nest queries.

  • AND: This operator helps us find documents in which all the indicated conditions are met.
  • OR: This operator helps us find documents in which any of the indicated conditions is met.

and-or.png