Search aids

Advanced users can employ various aids to further restrict their search. The search function of alptransit-portal.ch can process the following queries and search types:

  • Term and phrase search (‘word’ ‘this is a phrase’)
  • Wildcard search
  • Boolean operators (AND, OR)

In addition to the familiar term and phrase searches, other widely used search aids include:

Wildcard search

Special character

Description

Single characters (corresponds to a single character)

?

A search for te?t returns test and text.

A number of characters (corresponds to zero characters or a number of consecutive characters)

*

A wildcard search for tes* returns test, testing and tester. The character can also be placed within a term. For example, te*t returns test and text. *est returns pest and test.

 

Boolean operators

Special character

Description

AND

&&

The terms on either side of the Boolean operator must both be present.

NOT

!

Excludes the term after the Boolean operator.

 

OR

||

At least one of the terms on either side of the Boolean operator must be present.

 

 

+

 

The results must include the term that follows the symbol.

 

-

The results must not include the term that follows the symbol. This operator is functionally similar to the Boolean operator !.

 

For more search aids see:
lucene.apache.org/solr/guide/6_6/the-standard-query-parser.html