Add a New Index Unit
The first step in the Data Factory Studio configuration is to create an
Index Unit. Index units are storage units in the Semantic Graph Index.
You can consider the index unit as the container of the data model classes that you define
next, in the
Data Model tab.
Note:
The 3DSpace
crawler and the 3DPlan crawler have their own
Index Unit storages in read-only mode.
-
From the
Home page, click
Create Storage.
-
Enter a Storage name.
Note:
It is possible to edit this name later.
- Stop the indexing pipelines that use this storage.
- Change the index unit name.
- Update the index unit name in all the pipeline configurations that point to this
storage.
- Restart the indexing pipelines.
-
For Storage type, select
Index Unit.
-
Click Create.
The
General tab of the
Index Unit storage opens.
 Recommendation:
Click
Save after any editing operation.
What's NextYou can now define the data model of your
Index Unit storage.
Define the Data Model
The second step of the storage configuration consists in the definition of one or
several classes. For each class, you must define properties (the class attributes) that
correspond to the columns in your source files.
Note:
You can also import classes from an ontology defined in Ontology Editor as described in the next section.
-
In your
Index Unit storage, go to the
Data Model tab.
-
If there is no existing Package, click to create a package. Otherwise, creating a new
package is optional.
-
Define the class.
-
Enter the Class name, for example
car.
-
Select a Parent class, for example,
core.Item.
-
Select a Package name, for example,
org.common.
- Optional:
Enter a Description for the class, for example
This is my first class..
-
Define the class Properties (these are class attributes).
-
Define the Type and Name of each
class property.
For example:
-
String | brand
-
Integer | number of wheels
-
Date | creation
- Optional:
Expand the property by clicking and enter a
Description.
-
Optional: You can define Annotations for each
class attribute.
| Annotation |
Description |
|
Deprecated |
Marks the attribute as deprecated with a custom warning message. This
message appears if you try to use the attribute in a data query.
In Message, enter the message to display.
|
|
Origin |
Defines the origin of the attribute or the class with the fields:
- Source: The name of the source (for example, ontology).
- URI: The Uniform Resource Identifier of the current attribute or
class.
|
|
Full Text Search |
Pushes the attribute value in one or multiple attributes in the
text field.
|
|
Index Exact |
Defines how to index the tokens of the current attribute. With this
annotation, the index takes the exact value of the attribute.
|
|
Index Lowercase |
Defines how to index the tokens of the current attribute. With this
annotation, the index takes the lowercase value of the attribute. In
other words, it removes capital letters.
|
|
Index Normalized |
Defines how to index the tokens of the current attribute. With this
annotation, the index takes the normalized value of the attribute. In
other words, it removes accents and capital letters.
|
|
Precision |
Defines the number of precision digits for a decimal attribute.
|
|
Dimension |
For an
Embedding property, you can activate this annotation to
discard items that are not compliant with the defined
Dimension value during the data indexation.
If you deactivate this annotation, the Semantic Graph Index infers the dimension from the first pushed embedding.
|
|
Index Cosine Similarity |
For an
Embedding property, you can activate this annotation to
measure similarity between two nonzero vectors. The cosine similarity
measures the cosine of the angle between two vectors.
|
|
Index Dot Product Similarity |
For an
Embedding property, you can activate this annotation to
measure similarity between two nonzero vectors. The dot product
similarity is defined between two vectors as the sum of coordinate
products.
|
|
Index Euclidian Similarity |
For an
Embedding property, you can activate this annotation to
measure similarity between two nonzero vectors. The Euclidian similarity
measures the distance between two vectors.
|
|
Enumeration |
For a
StringTimeSeries property, you can use this annotation to
define the list of possible values for the attribute. For example,
low, medium, high.
The timeseries keeps the order defined in the annotation. Without the
annotation, the timeseries displays values by alphabetical order. |
- Optional:
Click
Open diagram view to view the class in a UML diagram.
This diagram provides you with a visual representation of your data model. It shows
the classes, their properties, and the relationships between the classes.
Each class appears in a box, which has 2 sections:
- The top section contains the class name and the package to which it
belongs.
- The bottom section contains the type and name of each property that belongs to
the class.

Lines between classes show the relationships between them:
- Blue lines show inheritance between classes, and have a hollow triangle pointing
to the box of the parent class.
- Green lines show references, and have a hollow diamond on the box of the class
that contains the referenced property. The name of the referenced property also
appears in a label on the line, along with an indication of the relationship
cardinality, which can be:
- 1 for singleton references
(
Reference<class>).
- *, 0..*, or
1..* for references to collection-type attributes
(
List<Reference<class>>,
Collection<…>, Map<…>).
On the diagram, you can:
| Action |
Description |
| Click a box |
Focuses on the class that the box represents. This box appears with a
blue border. It also appears in a darker shade of blue in the diagram
overview in the bottom right-hand corner of the diagram. |
| Click
Expand neighbors |
Shows the boxes for the neighboring classes. |
| Click
Hide from diagram |
Hides the class from the diagram.Note:
This command only hides the
class from the diagram to make reading the diagram easier. It does not
hide the class from the data model. If you want to hide classes from the
data model, create a scoped index unit for this data model. For more
information, see Configuring a Scoped Index Unit Storage.
|
| Drag boxes |
Allows you to rearrange the boxes on the diagram. |
| From the Package section of the left-hand side
pane, click a class. |
Shows this class on the diagram. |
| Click
Zoom In or
Zoom Out |
Zooms in or out on the diagram respectively.
|
| Click Fit View |
Automatically adjusts the diagram to fit all boxes and lines within the
available viewing area. |
| Click Auto-layout diagram |
Automatically rearranges boxes in the viewing area. This is especially
useful to reset your dragging actions. |
| Click
Show all classes |
Shows:
- All the classes you previously hid with
Hide from diagram.
- Any classes that do not appear on the diagram by default because they
have no relationship with the class from which you opened the diagram
view.
|
| Click
Remove all added nodes, focus selected class and expand
neighbors |
Removes all added nodes, focuses on the selected class, and expands
neighbors. |
When done, click Back to class editor to close the diagram and
go to the editor for the class the diagram focuses on. Note:
Closing the diagram
discards any layout changes you made.
-
Click
Save.
What's NextYou can now configure a
Pipeline to push data in the index unit.
Discover Index Units with the UI Browser
To configure an index unit, it is useful to discover the content of its data model
by seeing its classes, subclasses, and attributes.
-
Go to the
Browser tab.
- Optional: Use the search field to search for classes or items in your index unit.
Note:
When you start entering a query, search suggestions list matching classes.
-
First discover the Content tab of the selected class.
By default, the browser shows the content of core.Item, which
is the parent class of all classes.

| UI element |
Description |
| |
|
You can switch between two views:
- In tree view, you can expand
the hierarchy of the index unit. By default, you see
only the first level of the hierarchy under the
core.Item class.
- In panel view, you get a flat
list of classes that you can browse horizontally
using and breadcrumbs. This is
useful when there is huge number of classes or
items.
|
|
|
Click this icon to see a specific item.
The Item details tab lists all the
attributes of the selected item.
The References diagram tab shows
the items that refer to the selected item
(Referer) and the items that
it references (Referenced).
The Graph explorer tab allows you
to navigate through the relationships of the selected
item. You can click the item to open a panel on the left
or right-click the item to access similar browsing
options.
In the Expand neighbors subtab:
- Expand Method: Select
- Max depth to specify
the maximum depth of the relationships you want to
fetch. 1 for the direct neighbors, 2 for the
neighbors of the direct neighbors...
- Find a Uri to find a
specific URI on the map. It is useful to see the
shortest path of relationships to join the URI
from the item.
- Threshold to cluster:
Specify the maximum number of relationships of the
same type to display in the graph explorer before
creating a cluster of relationships. This allows
you to keep a readable graph and to avoid your web
browser from crashing.
- References filter: Use
this filter to fetch relationships based on their
referenced attributes.
- All: Does not apply any
filter and shows all referenced attributes for the
node's relationships on the graph view.
- Keep only: Keeps only
the specified references on the graph view.
- Exclude: Excludes the
selected references from the graph view.
- Classes filter: Use this
filter to fetch relationships based on their classes.
- All: Does not apply any
filter and shows all classes on the graph
view.
- Keep only: Keeps only
the specified classes on the graph view.
- Exclude: Excludes the
selected classes from the graph view.
Notes:
If you right-click a node, you get
the same filtering capabilities. Expand
all neighbors displays all
neighbors. Expand specific
relations is the equivalent of the
References filter with
references defined in Keep
only mode. Expand with
advanced parameters displays the left
panel to let you select parameters.
The Node details subtab indicates
the item Uri, its
Class, and its
attributes.
Click Hide node if you want to
hide a given node from the graph explorer view.
|
| uri |
This column shows the URIs of the classes contained in
the parent class.
|
| class |
This column contains the class name. Click a class to see
its details.
|
| lineage |
This column shows the class hierarchy tree.
|
-
Go to the Data Model tab to explore the Data Model and understand the class hierarchy.
| Data Model element | Description |
|
Class details |
Lists the class properties. If the selected
class inherits from other classes, you see the entire
class hierarchy, with the properties for each level. The
first parent class (core.Item) is at
the top of the list.

|
| Class references |
This view shows:
- A left Referer column, which references the Item class in the central column.
- A right Referenced column, which shows the classes referenced by the Item class in the central column.
|
| Subclasses |
This view shows the subclasses contained in a parent class.
Use Show direct subclasses only to see
only the direct subclasses of the selected class. It
does not go further in the class hierarchy.
|
| Subclass attributes |
This column shows the class properties.
|
Import a Class from an Ontology
Optionally, you can import classes from an ontology defined in Ontology Editor.
Before you begin: An ontology must have been defined in Ontology Editor.
-
Select an index unit and go to the
Data Model tab.
-
Under Package, click
New from Ontology.
The New from Ontology dialog box appears.
-
Expand
Ontology and select the ontology you want to import classes
from.
The dialog box refreshes to display all the classes contained in the
ontology.
-
Select a class.
The dialog box refreshes to display the properties contained in the selected
class.
-
Select the class properties that you want to import.
-
Click Create Class.
Data Factory Studio adds the class and its selected properties to the data model.
-
Optional: Repeat the previous steps to add more classes.
-
Click
Save.
View the Pipelines Using This Storage
The Pipelines tab gives you an overview of all the pipelines that use this storage with their current statuses. From this tab, you can also perform several actions to control your pipelines.
For more information, see Viewing and Monitoring Pipelines.
Clear an Index Unit
After configuration changes, you can clear indexed documents from the index unit
before reindexing them.
-
In the
General tab, go to the Action section.
-
Select what you want to clear from the index.
| Option | Description |
|---|
| All items |
Clears all indexed documents. |
| Pending actions |
Clears the pending actions from the index. |
| Class |
This is useful after a breaking change in the data model, to remove all the
items of a specific class and keep the items of other types in the index. |
| Uri |
Clears an indexed document based on its URI. |
| Pipeline |
Clears all indexed documents for a specific pipeline. |
| Expression |
Clears the indexed documents of a specific class that match your own Boolean
expression. |
-
Click
Clear.
Delete an Index Unit
-
In the
General tab, go to the Action
section.
-
Click
Delete.
|