FieldText

Allows you to specify fields that result documents must contain, and the conditions that these fields must meet for the documents to return as results.

Actions: Query
Type: String
Default:  
Example:
FieldText=MATCH{Archive,Web,docs}:DIR:DIRECTORY

A document's DIR or DIRECTORY field must have the value Archive, Web or docs for this document to return as a result.

FieldText=EQUAL{1234567890123}:ACCOUNT:KONTO

A document's ACCOUNT or KONTO field must contain the number 1234567890123 for this document to return.

FieldText=GREATER{6.95}:PRICE:PREIS AND MATCH{Thomas Brown}:AUTHOR:AUTOR

The PRICE or PREIS field in a document must contain a number greater than 6.95, and the AUTHOR or AUTOR field have the value Thomas Brown for this document to return as a result

FieldText=(LESS{10}:PRICE+AND+MATCH{Penguin}:PUBLISHER)+OR+(NRANGE{20,30}:PRICE+AND+MATCH{George Orwell}:AUTHOR)

This example contains 4 field specifier expressions:

LESS{10}
MATCH{Penguin}
NRANGE{20,30}
MATCH{George Orwell}
See Also:  

To specify how documents must match fields and field values to return as results, the FieldText parameter uses field specifiers that describe the pattern of values in fields. These field specifiers fall into the groups described in the following sections.

Field Specifiers for Common Restrictions

To find documents in which a specified field contains Use the field specifier:
a value that exactly matches one or more specified strings MATCH

a number

To optimize the processing time of queries for fields that contain numbers, store them as numeric fields in IDOL Server during the indexing process.

EQUAL
GREATER
LESS
NRANGE
NOTEQUAL

a date

To optimize the processing time of queries for fields that contain dates, store them as numeric date fields in IDOL Server during the indexing process.

GTNOW
LTNOW
RANGE
a value that matches a specified Wildcard string WILD

Field Specifiers for Advanced Restrictions

To find documents in which a specified field Use the field specifier:
contains a value that falls within a specific alphabetical range ARANGE
contains a value that results in a non-zero value when a bitwise AND operation is carried out against it BITAND
BITANDHEX
BITANDOFFHEX
contains a value in a BitFieldType field where the specified bit is set BITSET
contains a Boolean agent BOOLEANFIELD
contains Cartesian (x/y) coordinates values within a specified distance from a specified point DISTCARTESIAN
contains latitude and longitude values within a specified distance from a specified point DISTSPHERICAL
does not exist or does not contain a value EMPTY
exists, irrespective of its value EXISTS
contains a value that is similar to a specified string FUZZY
contains a value whose length is a specific number of characters LENGTH
contains multiple instances, whose values include at least one match for each of the specified strings or numeric values MATCHALL
EQUALALL
contains multiple instances, all of whose values match in the specified strings or numeric values MATCHCOVER
EQUALCOVER
contains a specified reference in a ReferenceMemoryMappedType field recursively to a maximum number of times MATCHRECURSE
contains multiple instances, at least one of whose values does not match the specified string NOTMATCH
NOTSTRING
NOTWILD
contains Cartesian (x/y) coordinate values within a specified polygonal shape POLYGON
contains a specified string STRING
STRINGALL
SUBSTRING
contains a value that matches specific terms or phrases TERM
TERMALL
TERMEXACT
TERMEXACTALL
TERMEXACTPHRASE
TERMPHRASE

Field Specifiers for Biasing Result Scores

To bias the score of results according to the numerical proximity of the specified field to a specified value: BIAS
To boost the score of any document in which the specified field has a specified date: BIASDATE
To boost the score of any document according to its distance from a point, specified by using Cartesian coordinates (x/y): BIASDISTCARTESIAN
To boost the score of any document according to its distance from a point, specified by using spherical coordinates (latitude and longitude): BIASDISTSPHERICAL
To boost the score of any document in which the specified field has a specified value: BIASVAL

Field Specifiers for Linking Queries

To link the query results with a particular value in the specified ReferenceMemoryMappedType field to documents where this value occurs as a document reference: LINK

Notes:


_HP_HTML5_bannerTitle.htm