User story
As a Term Browser user, I want Spotlight Search to expose context-aware filters based on where I am browsing so that I can perform advanced searches directly from Spotlight without depending on the standard filter panel.
Related docs: https://docs.openconceptlab.org/en/latest/oclapi/apireference/custom_attributes.html#space-in-attribute-value-search-criteria
Use case
Spotlight Search already knows the current navigation context. When the user is browsing within a Source, Spotlight should use that Source context and its properties to offer relevant search filters.
These filters may expose more advanced DSL Search capabilities than those currently available through the regular filter panel, including existence checks and negative filters.
Requirements
Acceptance criteria
More details (collapsible)
Context
This enhancement follows the new Spotlight Search Bar presented for Term Browser v3.
The proposed direction is for Spotlight to understand both the user's current location and the domain being searched.
For example, when the user is currently browsing a Source, Spotlight already has enough navigation context to identify that Source. It can use the Source properties and search capabilities to dynamically offer relevant filters.
The intention is not to limit Spotlight to the filters exposed by the existing filter panel. Spotlight can provide a more expressive entry point into DSL Search, including advanced operators such as existence checks and negative filtering.
Example capabilities:
field exists
field does not exist
field equals value
field does not equal value
exclude a particular value using supported DSL syntax such as !
The exact filter suggestions should depend on the current domain and context.
TBD
User story
As a Term Browser user, I want Spotlight Search to expose context-aware filters based on where I am browsing so that I can perform advanced searches directly from Spotlight without depending on the standard filter panel.
Related docs: https://docs.openconceptlab.org/en/latest/oclapi/apireference/custom_attributes.html#space-in-attribute-value-search-criteria
Use case
Spotlight Search already knows the current navigation context. When the user is browsing within a Source, Spotlight should use that Source context and its properties to offer relevant search filters.
These filters may expose more advanced DSL Search capabilities than those currently available through the regular filter panel, including existence checks and negative filters.
Requirements
existenceandnon-existencefiltering.negative filters, including syntax such as!for not equal/exclusion where supported by the DSL.Acceptance criteria
More details (collapsible)
Context
This enhancement follows the new Spotlight Search Bar presented for Term Browser v3.
The proposed direction is for Spotlight to understand both the user's current location and the domain being searched.
For example, when the user is currently browsing a Source, Spotlight already has enough navigation context to identify that Source. It can use the Source properties and search capabilities to dynamically offer relevant filters.
The intention is not to limit Spotlight to the filters exposed by the existing filter panel. Spotlight can provide a more expressive entry point into DSL Search, including advanced operators such as existence checks and negative filtering.
Example capabilities:
field exists
field does not exist
field equals value
field does not equal value
exclude a particular value using supported DSL syntax such as !
The exact filter suggestions should depend on the current domain and context.
TBD