Query Parameters

The following table lists the parameters available in the connector Configuration > Query parameters.

Parameter Description
Component class name

Configure the query using:

  • UI - that is to say through the Exalead CloudView Administration Console, by listing Business Objects and Relationships below this property. This configuration type applies to the 3DSpace connectivity mode only. It is based on 3DSpace NLS files.
    • Translate into: Translates workflow fields (for example, STATE).
    • Translate all selects: Translates all fields.
    • Names conform with data-model: Adapts the meta name to conform with the name rules of a data model. Names must conform with the regular expression [A-Za-z0-9_]+
  • file - through a configuration file (same configuration mode than the legacy ENOVIA SBA connector).

    Query configuration file path: Specify the file path of the configuration file. It must be on the same server than your ENOVIA instance. The xml nodes correspond to the UI options that found in this table. See the Configuration File Example.

Business objects and Relationships properties
Enovia type name

Name of the Business Object type.

Make a query by subtype If this option is:
  • false, the connector runs a single query to fetch all the objets matching the specified Enovia type name, as well as all subtypes.

    For example, if the hierarchy is A > B > C, the connector runs a single query for type A and its subtypes, including B and C.

  • true, the connector runs as many queries as there are subtypes. Each query fetches the objects of its type only. Each query has its own max modified checkpoint date.

    For example, if the hierarchy is A > B > C, the connector runs 3 queries for type A, subtypeB, and subtype C.

    In practice, you can set this option to true when a Designer Central contains all CAD types and several subtypes, to make a query for each subtype. This option leverages multithreading capabilities.

Where clause

Filters objects. For example, owner == <login>

Index basics

Indexes all ENOVIA basics attributes. For example, all IDs.

Recommendation: Avoid using this option as it has an impact on performance. It is better to specify Selectables in the configuration (see below).
Index all attributes

Indexes all ENOVIA attributes.

Recommendation: Avoid using this option as it has an impact on performance. It is better to specify Selectables in the configuration (see below).
Index files

Indicates whether to index files for this Business object type.

Trace tenant

If your server vault has multiple tenants, it traces the source tenant by storing this info in a specific tenant meta.

Trace history

Indicates whether to trace history events as documents linked to the Business Object.

Trace type lineage

Creates a taxonomy of Business object types. It stores the hierarchy of the object using a | (pipe) separator. For example, MCAD Model|3DPart|CATIA Part

Sorted

Indicates whether the dataset returned by queries to ENOVIA is sorted. Unsorted results are slightly more performant but the intermediate checkpoint capability is lost, and a scan can only fully complete or fail.

Preserve empty values

Shows attribute names in search results, even when these attributes have null or empty values.

Without this option, when an attribute is not valuated, Exalead CloudView cannot retrieve it and cannot produce a document with a meta containing the attribute.

CV type names

The first element in this item list must be the Data Model class and the hierarchy type root node of the Consolidation Server.

Include policies

Includes the specified Business object policies only.

Exclude policies

Excludes the specified Business object policies only.

Selectables

Use selectables to use basic or other ENOVIA attributes without attribute [<ATTRIBUTE_NAME>] curly braces inclusion. You can use the target meta name to copy basics or attributes into one or several metas.

Programs

For legacy mode we need to support JPO, TCL or MQL. The connector sends the code to the ENOVIA kernel directly. From V6R2017x, it also supports JPO servers.

Paths

Queries returning paths which owner is the declaring Business Objects or Relationship.

Warning: Do not use this property with a global Path query, specified in Item > Paths.

This is useful to:

  • Index paths incrementally instead of deleting and reindexing all paths.
  • Delete paths only if the owner is deleted.
  • Get access to path attributes (which is impossible with global queries).
It can work if:
  • There is no global Path query.
  • No global Path query took place before.
  • You define at least one Path subquery.
Query in two steps The connector makes queries in two steps to:
  1. Retrieve all item identifiers in a single query and sort them by ascending modification date.
  2. Retrieve the items based on their IDs. It retrieves items by batches (you must specify the batch size property). To retrieve several batches simultaneously, specify a Thread count higher than 1.
File filter

This node allows you to specify formats, extensions, etc. to accept or exclude during indexing. For example, if you want to index PDF and exclude XML files when indexing the content of a repository.

The Trace reason option allows you to log why Exalead CloudView did not index files (for debug purpose).

Date range of queries

Instead of making the entire query at once, you can split it into several incremental queries using time increments (1 year, 1 month, or 1 day) over one or several time intervals.

The reference date is the modified of Business Objects and Relationships. If time intervals:

  • Overlap: it takes the smallest interval into account
  • Are disjunctive: it makes a single query
  • Not defined: it makes a single query

Example:



  1. The connector performs a query to retrieve items for 1970-01-01.
  2. The connector performs 20 queries for the intervals:
    1. [1970/01/01 - 1971/01/01[
    2. [1971/01/01 - 1972/01/01[
    3. ...
    4. [1989/01/01 - 1989/11/01[
  3. The connector performs incremental queries from 1989-11-01 to 1993-01-01:
    1. [1989-11-01 - 1989-12-01[
    2. …
    3. [1992-12-01 - 1993-01-01[
  4. The connector performs a single query for the interval [1993-01-01 - 1995-05-01[
  5. The connector performs a query for each day from 1995-05-01 to 1995-05-31:
    1. [1995-05-01 - 1993-05-02[
    2. …
    3. [1995-05-30 - 1995-05-31[
  6. The connector performs a single query for the remaining interval: [1995-05-31 - …[