Cheat Sheet
Operators in Search
Operator Description | Operator | Example |
---|---|---|
Wildcard Operator | * - Asterisk Operator ? - Question Operator | test\* te?t_ |
Fuzzy Search Operator | ~ - Tilde Operator | roam~ |
Proximity | ~10 - Tilde with numeric Operators | “searchblox j2ee”~10 |
Exact Search Operator | "" - Double Quotes operator | “Old is gold" |
OR Operator | OR | “searchblox server” OR elasticsearch |
AND Operator | AND | searchblox AND j2ee |
NOT Operator | NOT | “searchblox server” NOT j2ee |
Plus Operator | + - Plus Operator | +searchblox j2ee |
Prohibit Operator | - -Minus Operator | "searchblox server” -j2ee |
Fielded Search Operator | : -Colon Operator | keywords:news |
Escape Operator | \ | test\~ |
Fielded Search
Field | Description | Example |
---|---|---|
title | Title of the document | title: test |
keywords | Keywords from the document | keywords: search |
description | Description of the document | description: "This is test" |
url | URL of the document | url: "https://www.searcblox.com" |
content | content of the document | content: searchblox content |
contenttype | File type of the document | contenttype: pdf |
meta data | custom fields index from html, files or databases | author: Stephan |
Grouping | combination of SearchBlox and custom fields can be provided in fielded search | title: test AND author: Stephen AND keywords:search +travel +world +(title:news) ((world AND travel) OR keywords:news) AND cnn |
Sample Search Queries
Search Query | Find the documents with |
---|---|
searchblox test | If default=OR contain the words searchblox or test .If default=AND contain the words searchblox or test . |
enterprise (contenttype:word OR contenttype:excel OR contenttype:msg) | contain the word enterprise and have the file types as word, excel, or msg. |
"Enterprise Search" | contain the exact expression Enterprise Search . |
Enterprise AND Search | contain the words Enterprise and Search . |
("Enterprise" OR "Search") AND "SearchBlox" | contain the word Enterprise or Search and the word SearchBlox . |
SearchBlox NOT test | contain the word SearchBlox but not the word test . |
(Wellness^2.0 OR help) AND learning | contain Wellness or help and learning . The occurrence of Wellness is twice as strong rated as other terms. |
+Enterprise +Search | contain the words Enterprise and Search . |
Enterprise Search +SearchBlox | contain the word Enterprise or Search and the word SearchBlox . |
+(Enterprise Search) +SearchBlox | contain either Enterprise or Search and SearchBlox |
SearchBlox -test | contain the word SearchBlox but not the word test . |
Updated over 4 years ago