Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/scisim/spr/help/advanced.html
Дата изменения: Thu Oct 5 17:14:49 2000
Дата индексирования: Tue Oct 2 05:50:30 2012
Кодировка:

Поисковые слова: с п п п п р п р п п р п р п п р п р п р п р п р п р п р п п р п п р п р п р п р п п р п п р п р п
SciSim Advanced Search

SciSim SPRs:Help on advanced search

The SciSim SPR search service helps you to find Software problem reports in the SciSim SPR database. You tell the search service what you are looking for by typing in a pattern for the SPR Id's and one or more regular expressions for the fields within an SPR.

Once you are satisfied with your search query, you can press the search button. The search service will return a list of SPRs matching your query, which in turn you can visit by clicking on them.

If a field in the search form is omitted, the search service will assume that you are looking for any match for that particular field. In fact, if you just press the search button right away, the search service will return all SPRs
 
 

Field pattern matching

The fields pattern matching, is a powerfull search method, allowing to search for virtually anything. The reguklar expression mechanism is using Perl.

An SPR consists of fields that contain information. The search service allows you to specify one or more fields and a regular expression that you want to test them against.
The text area on the form lets the user to specify an advanced query, allowing to search for almost anything.

A field pattern match consists of:

Field  Binder /Pattern/[i]
The binder operators =~ and its counterpart !~  bind the field to a pattern match. The optional i specifies to ignore case (matches upper or lower case).
Example: %Title% =~ /rsim/i
Field RelationalOP Value
Field EqualityOP Value
The relational operators gt,ge,lt,le and equality operators eq,ne compare strings.
Example: %Date% ge "1999-04-01"
The patterns can be combined with the operators and,&&, or,||, and not,!. The patterns can also be grouped by brackets ().

A more complex example combines the above:

%Date% ge '1999-03-01' and
%Date% le '1999-04-01' and
not %Originator% =~ /erd/i


One final note. The advanced search mechanism does not check the validity of the complete expression. As a result the service will not respond. In that case, go back to the search form, and revisit your query on typos.
 
 

Common Fields in an SPR

The most common fields that can be found in an SPR
 
Field Description
%Title% Summary of the problem
%Date% Date of submission
%Originator% Sender of the problem
%Description% Full description of the problem
%Analysis% Response to the problem
%Version% The SciSim version in which the problem occured
%Severity% How serious the problem is
%Status% Current status of the SPR
%Package% Part of SciSim the problem relates to.