Version Search Syntax

Advanced search syntax can be used to search for documents that contain a particular version. (Or, search for versions using the Search Pane.)

A document under version control will contain multiple versions, and each version will have its own attributes (such as the date the version was created, the user who created the version, and the version label). You can perform a search for characteristics of a single version, or a search for characteristics contained in any version or combination of versions in that document. In order to allow you to specify more than one search criteria within a single version, we use a special version search namespace. You can use wildcards or operators to determine the results returned.

The following version searches can be used separately or combined:

Version Created By:

User Name is the name of the user in Laserfiche who created the version you are searching for, and may be a Laserfiche trustee or a Windows or LDAP domain user. It must be enclosed in quotes.

Version Comment:

Version comment searches are performed as indexed searches by default in Laserfiche client applications, but may also be performed as non-indexed searches by choosing the correct operator. The examples below show the operator for the default search, which for these search types is indexed search. You can perform these searches as non-indexed searches by replacing the indexed search operator (~=) with the non-indexed search operator (=). See Indexed and Non-Indexed Searches and Operators for more information.

Value is the comment or part of the comment on the version you are searching for.  It must be enclosed in quotes.

Version Label:

Value is the label applied to the version you are searching for. It must be enclosed in quotes.

Version Modified Date:

mm/dd/yy is the date on which the version you are searching for was created. It must be in the format mm/dd/yy, mm-dd-yy, mm/dd/yyyy, or mm-dd-yyyy, and must be enclosed in quotes.

Version Number:

Value is the version number of the version you are searching for. It must be an integer value.

Example: To search for a document with a version that was modified by "John" and that has the label annual meeting 2011, the search syntax would be: {LFVER:Modified="John", Label="annual meeting 2011"}.

LFVER is the namespace for versions; Modified and Label are the attributes of the version that is being searched for.

Note: The example search is different from {LFVER:Modified="John"} & {LFVER:Label="annual meeting 2011"}. The former requires a single version to match both criteria of the attributes while the later will find documents which have two versions that, combined, meet the criteria.