PEM

Section: User Commands (1)
Updated: November 2000
Index Return to Main Contents
 

NAME

pem - XPAT Parallel Execution Monitor: search engine control program for multiple databases  

SYNOPSIS

pem [ -m memory k | K | m | M ] [ -v ] [ -q ] [ -e ] [ -label label ] [ -h historysize ] [ -I index_name ] pem_data_dictionary  

DESCRIPTION

pem reads database queries from the standard input and produces results on the standard output. The query expressions must be in the form of XPat Command Language commands (refer to the XPat Reference Manual and Tutorial for a description of this language). pem searches for word prefixes, words, phrases or ranges of any of these. pem supports many different operations for combining the results of searches. In addition, pem supports region operations which allow queries to be restricted to specific user-defined regions in the database. These region operations also apply inclusion operations to query results.

pem issues the queries to underlying xpat databases. The names of the databases, the hosts on which they reside, and other relevant information are specified in the pem_data_dictionary (see pemdata_dict(5)). Each database's index is created with the xpatrgn(1) program.  

OPTIONS

-m memory [ k | K | m | M ]
memory - use memory kilobytes or megabytes for index and text caching.
-v
verbose - produce some additional messages concerning the execution.
-q
quiet - output results in a tagged machine readable format for use with other programs. Refer to the quiet mode section of the XPat Reference Manual and Tutorial for further details.
-e
echo - echo the input to standard output. This is useful when reading input from a file.
-label label_name
label - assign the given label_name to this pem process for the current session.
-h historysize
history size - set the history list size. This option is passed on to each underlying xpat process at startup time. xpat defaults to a maximum history of 300 queries. Use this option to increase the number of queries in the history list.
-I index_name
index name - instruct the underlying xpat processes to use the index_name index. This option is passed on to each underlying xpat process at startup time. If the -I option is not used, the first index in the Data Dictionary is used. Note that finer index specification can be achieved using the <Index> field in the pem_data_dictionary (see the pemdata_dict(5) man page for further details).
 

EXAMPLE



>> love
  1: 462 matches

>> hate
  2: 263 matches

>> love near hate
  3: 47 matches

>> pr sample
       .
       .
       .
>> love fby hate
  4: 36 matches

>> quit
 

SEE ALSO

xpat(1), xpatbld(1), xpatrgn(1), regions(5), pemdata_dict(5), xpat_export(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 18:03:38 GMT, March 26, 2001