Skip to content

Commit

Permalink
Clarify use of :
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Jan 16, 2022
1 parent 0ffe28f commit dd580b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/handlebars/templates/search-results.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<li>Use <code>*</code> anywhere (such as <code>fo*</code>) as wildcard</li>
<li>Use <code>+</code> before a word (such as <code>+foo</code>) to make its presence required</li>
<li>Use <code>-</code> before a word (such as <code>-foo</code>) to make its absence required</li>
<li>Use <code>field:word</code> to search on a particular field. The available fields are <code>title</code> and <code>doc</code></li>
<li>Use <code>:</code> to search on a particular field (such as <code>field:word</code>). The available fields are <code>title</code> and <code>doc</code></li>
<li>Use <code>WORD^NUMBER</code> (such as <code>foo^2</code>) to boost the given word</li>
<li>Use <code>WORD~NUMBER</code> (such as <code>foo~2</code>) to do a search with edit distance on word</li>
</ul>
Expand Down

1 comment on commit dd580b1

@eksperimental
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.