What do we call a dollar sign

- Search results can be influenced  

The search results of a PRG query can be expanded or restricted using search terms. The search can be influenced as follows:

Search should be the beginning of a word

In order to determine that a search term represents the beginning of a word, a so-called caret (^) must be placed in front of the search term.
Example: search persons firstname = "^ bert" (for testing as a search query to Univis)
All persons whose name begins with "bert" are displayed as the search result: e.g. BertR.A.M, Berthold, etc.

Search should be the end of a word

To specify that a search term represents the end of a word, a dollar sign ($) must be placed after the search term.
Example: search persons firstname = "bert $" (for testing as a search query to Univis)
All persons whose first name begins with "bert" are displayed as the search result: e.g. Herbert, Robert, Norbert, Etc.

Search should be accurate

In order to get exactly one word as a search result, the combination of caret and dollar signs is necessary:
Example: serach persons firstname = "^ bert $" (for testing as a query to Univis)
The only search result will be "bert"

Linking searches using "AND"

The search results can be further specified in Univis by linking search queries.

As an example, the search for a lecture from the winter semester 2002/2003, whose name contains the term "Law" and was also given by a lecturer named "Alexy":

The search query within your own website should look like this:

<univis>
semester what = 2002w
$ right = search lectures name = "right"
$ alexy = search lectures lecturer = "Alexy"
$ link = and $ right with = $ alexy
show $ shortcut lshort
</univis>

The search query in detail:

<univis>This stipulates that the search request will begin in the following
semester what = 2002wThe semester to be searched is hereby defined. This information is only necessary if a different than the current semester is to be searched. By default, all search queries are processed in the current semester. However, it is possible to search through previous semesters (archive function!)
$ right = search lectures name = "right"We define ourselves a first search. We call this "$ right" and give the search instruction to search for all events with the word "right" in the name of the event
$ alexy = search lectures lecturer = "Alexy"The second search is defined. We call this $ alexy. We are looking for all courses whose lecturer is "Alexy".
$ link = and $ right with = $ alexyNow we link the search queries $ right and $ alexy with the logical "and". Only the intersection of the two searches is output
show $ shortcut lshort Hereby we specify that the search result of $ link should be displayed.
</univis>This ends the search query

The search result can be viewed here

 

Linking searches with "OR"

A request can also be expanded with "Or".

The search for all persons whose first name is Hans and all persons with the first name Franz (in short: show all Hans and Franz) from the winter semester 2002/2003 should serve as an example:

The search query within your own website should look like this:

<univis>
semester what = 2002w
$ hans = search persons firstname = "^ Hans $"
$ franz = search persons firstname = "^ Franz $"
$ link = add $ hans to = $ franz
show $ shortcut lshort
</univis>

The search query in detail:

<univis>This stipulates that the search request will begin in the following
semester what = 2002wThe semester to be searched is hereby defined. This information is only necessary if a different than the current semester is to be searched. By default, all search queries are processed in the current semester. However, it is possible to search through previous semesters (archive function!)
$ hans = search persons firstname = "^ Hans $"We define ourselves a first search. We call this $ hans and give the search instruction to search for all persons whose first name is _exact_ (see above) Hans
$ franz = search persons firstname = "^ Franz $"The second search is defined. We call this $ French. We are looking for all people whose name is _genau_ (see above) Franz.
$ link = add $ hans to = $ franzNow we link the search queries $ hans and $ franz. To do this, we add $ hans to $ franz. The search results of both searches are added together and then displayed.
show $ shortcut lshort Hereby we specify that the search result of $ link should be displayed.
</univis>This ends the search query.

The search result can be viewed here