Search logic

A single search logic sl0 is used for the OnePart application. The following facets are configured by default as the search hit content and for navigation in the OnePart UI.

Facet group

Facet id

Comment

When

best_creation_date

best_modification_date

phase

Who

best_author

What

file_extension

opfamily
cscat_family OnePart Reduce only
cs_status OnePart Reduce only
optype
2d3d_main_color
Where OriginalSource
Why tags

How

3d_shape_material

3d_shape_mech_feature_has

BBDimRange_imperial

BBDimRange_metric

See Numerical range facets

MassRange_imperial

MassRange_metric

More...

An extensive list of component attributes to filter the search results

This page discusses:

Numerical range facets

Numerical range facets are available for:

  • BB Dimension (for imperial and metric units)

  • Mass (for imperial and metric units)

  • Density

  • Volume

  • file_size



For more details on adding facets and customizing facet ranges, see Facets in the OnePart Customization Guide.

Sort & Relevance

OnePart uses standard Exalead CloudView relevance with boosts for title, author and object type.

Query Language

Search with Prefix handlers

OnePart creates Query prefix handlers for each index field that is configured with Searchable with prefix in the Data Model. This means that users can use this index field as a prefix to the query.

List of existing prefix handlers

A number of custom prefix handlers with the aliases have been configured to simplify search as follows:

document

2d3d

3d_shape

author

custom_properties

partnumber

best_author

document_path_start

children

best_creation_date

original_path_start

children_count

best_modification_date

main_color

drawing_sheet_name

file_folder

project

mass

file_folder_exact

material

file_path, path

mech_feature_count

file_extension

mech_feature_has

file_folder

nomenclature

file_name

revision

opfamily

volume

file_creation_date

file_access_date

file_creation_date

file_modification_date

other_text

optype

Query prefix handler configuration

Aliases have been created in the Search logics configuration to simplify searching with prefixes. So now users can now enter queries such as:

  • path:A300

  • file_path:A300

Configuration for custom prefix handlers is done in the CloudView Administration Console > Search Logics > Query prefix handlers.

For example, file_path in the document class has the prefix handler document_file_path.



It is possible to execute a query against a particular attribute using prefix handlers, and to combine different prefix handlers.