From f21583b6ab8b870aaa3f8be48426d4e0f6a7ae48 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Thu, 29 Mar 2012 19:50:02 +0200 Subject: Bug 554819: Quicksearch should be using Text::ParseWords instead of custom code in splitString Also fixes QS with accented characters (bug 730207) r=dkl a=LpSolit --- template/en/default/pages/quicksearch.html.tmpl | 83 ++++++++++++++++++++++--- 1 file changed, 75 insertions(+), 8 deletions(-) (limited to 'template/en/default/pages/quicksearch.html.tmpl') diff --git a/template/en/default/pages/quicksearch.html.tmpl b/template/en/default/pages/quicksearch.html.tmpl index 669ea6cc1..f3794e1ed 100644 --- a/template/en/default/pages/quicksearch.html.tmpl +++ b/template/en/default/pages/quicksearch.html.tmpl @@ -25,7 +25,16 @@ -

The Basics

+ + +

The Basics

-

You may also want to read up on the Advanced - Features.

+

Examples of Simple Queries

+ +

Here are some examples of how to write some simple queries. + Examples for more complex queries can be + found lower in this page.

+ +

Fields You Can Search On

@@ -127,15 +160,18 @@ -

Advanced Features

+

Advanced Features

+

You cannot use | nor OR to enumerate possible values for a given field. + You must use commas instead. So field:value1,value2 does what + you expect, but field:value1|value2 would be treated as + field:value1 OR value2, which means value2 is not bound to + the given field.

+

OR has higher precedence than AND; AND is the top level operation. For example:

Searching for url|location bar|field -focus means @@ -255,4 +297,29 @@ +

Examples of Complex Queries

+ +

It is pretty easy to write rather complex queries without too much effort. + For very complex queries, you have to use the + Advanced Search form.

+ + + [% PROCESS global/footer.html.tmpl %] -- cgit v1.2.3-24-g4f1b