Aqualogic Interaction API  
 

PTSFieldType Fields

The fields of the PTSFieldType class are listed below. For a complete list of PTSFieldType class members, see the PTSFieldType Members topic.

Public Static Fields

BOOLEAN Field type for boolean fields.
DATETIME Field type for date/time fields. IMPORTANT: The search server stores all date-times as 32-bit floating-point values representing the number of minutes since 01-Jan-2000 00:00:00. Dates that are significantly far from this moment in time will suffer roundoff error. Date-time fields are best used for result sorting (see IPTSQueryRequest.setResultsOrderBy) or applications where high precision is not required (e.g. showing a "last-modified date" that does not need to be exact). If you need storage of exact times, store the full date-time value in some other repository, such as a database, and look it up after doing your search query.
FLOAT Field type for floating-point fields. IMPORTANT: The search server stores all numeric types (integers, floats, and date-times) as 32-bit floating-point numbers. If you need 64-bit (double) precision, store the full double value in some other repository, and look it up after doing your search query.
INT Field type for integer fields. IMPORTANT: The search server stores all numeric types (integers, floats, and date-times) as 32-bit floating-point numbers, so large integers can suffer roundoff error when indexed. Integer fields are best used for result sorting (see IPTSQueryRequest.setResultsOrderBy). If you must have reliable storage of exact values, look them up post-search query in some other repository, such as a database.
STRING Field type for String fields.

See Also

PTSFieldType Class | com.plumtree.server.search Namespace