How to manage ‘full text’ searches
Atoka allows the insertion of operators and special characters to improve the accuracy of ‘full-text’ searches in different points of the service, in particular:
- in the “Website content” search filter, as described in the user guide;
- in the news dashboard (https://atoka.io/it/news/), using the text box that allows you to search for any combination of words within all the news present in Atoka (if the feature is enabled) ;
- with the Atoka API, using the ‘fullText’ parameter with the ‘News Search’ package (if the token you are using has access to the https://api.atoka.io/v2/news endpoint).
Below is a list of the main operators with some examples of use:
Operator | Description | Example |
---|---|---|
TERMINE_X OR TERMINE_Y | At least one of the terms TERMINE_X and TERMINE_Y, indicated in the search string, must be present in the search result texts | TERMINE_X = industria TERMINE_Y = 4.0 stringa di ricerca = industria OR 4.0 |
TERMINE_X AND TERMINE_Y | The terms TERMINE_X and TERMINE_Y must be present at the same time in the search result texts (DEFAULT operation when there is no operator) | TERMINE_X = industria TERMINE_Y = 4.0 search string = industria AND 4.0 or industria 4.0 |
” … “ | The search result texts must contain exactly the string indicated in the quotation marks. Attention: means the list of terms in the order in which they are specified in the sentence. The following are not considered in the search: articles, conjunctions, prepositions, inflection of terms (masculine / feminine, singular / plural) and punctuation marks. | search string = “industria 4.0” |
+TERMINE_X | The term TERM_X must be compulsorily present in each search result text | search string = industria 4.0 +manifattura |
-TERMINE_X | The term TERMINE_X must not be present in the search result texts | search string = industria 4.0 -impresa |