Search Syntax and Search Requests
The following rules apply for the quick search.
Fields to search
The following fields can be searched. They refer to either a device, a user or financial asset management data:
Parameter | Description |
---|---|
Name | The name of the device, for example, scotty.enterprise.com, PC1, M60-ITA. |
os | The name of the operating system composed of its name, its major version, minor version, revision and build numbers, for example, Microsoft Windows XP Professional 32-bit 5.1 rev:Service Pack 3 build:2600. |
fpac | The agent version, composed of its major version, minor version, revision and build numbers, for example, 10.0.0 build:100415c. |
ip | The IP address in its dotted notation, for example, 194.50.68.255. |
domain | The domain name of the device, for example, LABNET/PC2: |
netbios | The NetBIOS name of the device, this field is not applicable for Linux and Mac OS devices, for example, M60-ITA. |
macaddress | The MAC, that is, the hardware address of the device, for example, 00:01:02:AF:7D. |
serialnumber | The serial number of the hard disk of the device, for example, 0001657879. |
type | The topology type of the device, for example, master or client. |
currentuser | The name of the user who was logged when the last hardware inventory was generated, for example, LABNET/Administrator. |
user | The name of the user who was logged when the last hardware inventory was generated, for example, LABNET/Administrator. |
vendor | The name of the vendor of the asset. |
po | The purchase order number of the asset. |
support | The name of the support provider of the asset. |
dept | The name of the department to which the asset belongs. |
sku | The SKU vendor name of the asset. |
status | The current life cycle status of the asset. |
contact | The name of the administrator to contact for anything about the asset. |
owner | The name of the user of the asset. |
Search Requests
The Quick Search supports the following types of search requests:
- The search is not case sensitive, for example, hardware inventory, Hardware Inventory and HARDWARE INVENTORY will all return the same results.
- The wildcard characters ? and * can be used.
An "any words" or "natural language" search is any sequence of text, like a sentence or a question. In an "any words" search, use quotation marks (") around phrases, put + in front of any word or phrase that is required, and - in front of a word or phrase to exclude it.
ExamplesSearch Request
Explanation
apple +pear
Apple must be present and pear .
apple -pear
Apple must be present but not the word pear .
+apple
Only the word apple must be present, not its plural, composed term or synonyms.
apple * pear
The words apple and pear separted by one or more words
A boolean search request consists of a group of words, phrases, or macros linked by connectors such as AND, not and OR that indicate the relationship between them.
ExamplesSearch Request
Explanation
apple and pear
Both words must be present.
apple or pear
Either word can be present.
"apple or pear"
The exact phrase "apple or pear" must be present.
apple w/5 pear
Apple must occur within 5 words of pear .
apple not w/5 pear
Apple must not occur within 5 words of pear .
apple pre/5 pear
Apple must occur 5 or fewer words before pear .
apple and not pear
Only apple must be present.
apple w/5 xfirstword
Apple must occur in the first five words.
apple w/5 xlastword
Apple must occur in the last five words.
If you use more than one connector, you should use parentheses to indicate precisely what you want to search for. For example, apple and pear or orange juice could mean (apple and pear) or orange, or it could mean apple and (pear or orange).
- Noise words, such as if and the are ignored in searches.
- To search in a specific database field the following syntax options are available:
Syntax(name contains (M60 OR ITA)) and (macaddress contains 00:01:02:AF:7D)
or(name::M60 or ITA)) and (macaddress::00:01:02:AF:7D)
Explanation
The database field "name" must contain either the value "M60" or "ITA" and the field "macaddress" must contain the value "00:01:02:AF:7D".
Comments
Log in or register to comment.