Example: "Alicia Martinez’s bank account in Portugal"
Example: Alicia MartinezSame search: Alicia OR Martinez
Example: Alicia AND MartinezSame search: +Alicia +Martinez
Example: NOT MartinezSame search: !MartinezSame search: -Martinez
Example: ((Alicia AND Martinez) OR (Delaware AND Pekin) OR Grey) AND NOT "parking lot"
Example: Alicia Martin?zExample: Alicia Mar*z
kitten -> sitten (1 substitution (k turned into s) = fuzziness is 1)
kitten -> sittin (2 substitutions (k turned into s and e turned into i) = fuzziness is 2)
Example: quikc~ brwn~ foks~ (as the default edit distance is 2, this query will catch all quick, quack, quock, uqikc, etc. as well as brown, folks, etc.)Example: Datashare~1 (this query will catch Datasahre, Dqtashare, etc.)
"the cat is blue" -> "the small cat is blue" (1 insertion = fuzziness is 1)
"the cat is blue" -> "the small is cat blue" (1 insertion + 2 transpositions = fuzziness is 3)
Example: "fox quick"~5 (this query will catch "quick brown fox", "quick brown car thin fox" or even "quick brown car thin blue tree fox"
"quick fox"
would be considered more relevant than "quick brown fox"
(source: Elastic).^
to make one term more relevant than another. For instance, if we want to find all documents about foxes, but we are especially interested in quick foxes:Example: quick^2 fox
Example: "john smith"^2 (foo bar)^4
Example: /.*..*@.*..*/
Example: ("Ada Lovelace" OR "Ado Lavelace") AND paris AND /.*..*@.*..*/
Example: /.*..*@.*..*/ (the @ was escaped by a backslash \ just before it)
Example: /FR[0-9]{14}[0-9a-zA-Z]{11}/ OR (/FR[0-9]{2}.*/ AND /[0-9]{4}.*/ AND /[0-9a-zA-Z]{11}.*/)
term1 AND term2 AND term3 AND metadata.tika_metadata_creation_date:>=2010-01-01