@@ -24,11 +24,13 @@ def get_query_instructions(self) -> str:
2424
2525
26261. Boolean Operators:
27- - Multiple words default to AND operation
27+
2828 - AND: term1 AND term2 (both required)
2929 - OR: term1 OR term2 (either term)
30+ - Multiple words default to OR operation
3031 - AND takes precedence over OR
3132 - Example: security AND (cloud OR network)
33+ - cloud network = cloud OR network
3234
33352. Required/Excluded Terms:
3436 - Required (+): +term (must contain)
@@ -39,11 +41,12 @@ def get_query_instructions(self) -> str:
39413. Phrase Search:
4042 - Use quotes: "exact phrase"
4143 - Both single/double quotes work
42- - Escape quotes with \
44+ - Escape quotes with \\ "
4345 - Slop operator: "term1 term2"~N
44- - use lop operator only for terms inside quotes
46+ - use slop operator only for terms inside quotes
4547 - Prefix matching: "start of phrase"*
46- - Example: title:"cloud security"~2
48+ - Example: "cloud security"~2
49+ - the above will find "cloud framework and security "
4750
48514. Set Operations:
4952 - IN operator: field IN [value1 value2]
@@ -53,12 +56,13 @@ def get_query_instructions(self) -> str:
53565. Wildcards:
5457 - ? for single character
5558 - * for any number of characters
56- - Example: title: sec?rity cloud*
59+ - Example: sec?rity cloud*
5760
58616. Special Features:
5962 - All docs: *
6063 - Boost terms: term^2.0 (positive numbers only)
61-
64+ - Example: security^2.0 cloud
65+ - the above will boost security by 2.0
6266
6367Query Examples:
64681. Basic: security AND cloud
0 commit comments