Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.54 KB

azure.org

File metadata and controls

31 lines (23 loc) · 1.54 KB

Cognitive search

params

  • queryType specifies the parser (full | simple (default))
  • highlight shows what word was matched

notes

  • In queries containing rare and common terms, TF/IDF promotes results containing the rare term.
  • Some params become irrelevant if the query is marked as a fuzzy search (eg. ^+)

Lucene Query

symboldescriptionexamplematches
~fuzzy searchterm~team, terms, perms
^nboost termterm^2team, terms
?wildcard single chrte?ttest text tent
*wildcard multiple chrstes*test testing tester
:specify columntitle:texttext
+required+lorem ipsummay or may not contain ‘ipsum’
-prohibit-lorem ipsumwon’t match sentences with ‘lorem ipsum’
/*comment
/regexp

Boolean operators are also supported: and (&&) not (!) or (||)

Examples

santander~||santander^2 santander~^2