Closed elv-zenia closed 1 year ago
Pre-configuration:
true
. There is also a corresponding setting in the UI via the spec form (gear icon) for the content type.To verify: NOTE: make sure that the config url being used is a search node.
Ready on https://core.test.contentfabric.io/prod/ core.demov3
If the indexer has run already, display some information:
Also offer a search box called "Terms" (note in a future version we would like to have more search parameters but starting with just terms)
We need to decide how best to display the results - the 'tree' control we use in "Show metadata" is probably the best first.
{
"indexer" : {
"stats" : {
"document": {
"total": 100
},
"fields" : {
"f_asset_type" : {
"value" : {
"total" : 10,
// the histogram fields have more info
}
}
}
}
}
}
Issue reported by SS on slack:
failed
Issues reported by SS on slack 3/27:
"type": "metadata-text"
unconditionally at path /indexer/config/indexer/typesite_map.searchables.*.title
state 'terminated'
as well as run_state 'failed'
Site Object
Select the "site" object containing the list(s) of titles or other media and searchable objects.
Document Prefix
The object metadata path at which the searchable document is defined. Typically "/" to use the entire object.
Other common examples:
/assets/* (for individual assets within a title object)
Query Suffix
A term that is automatically appended to all queries.
Configuration Fields
The list of metadata fields to be indexed and available as search terms. Each field has a label (for example 'title', 'synopsis', 'release_date', ...) and one or multiple metadata paths pointing to the metadata fields that contain the values for this field.
Label:
The label of his searchable field (for example 'title', 'synopsis', 'release_date', ...). This table can be used in search queries prefixed with 'f_' (for example 'f_title', 'f_synopsis', 'f_release_date', ...).
Paths:
One or multiple metadata paths pointing to the metadata fields that contain the values for this field.
Common examples:
public.asset_metadata.titles.*.*.title
public.asset_metadata.series.*.*.episodes.*.*.title
public.asset_metadata.titles.*.*.info.synopsis
public.asset_metadata.series.*.*.episodes.*.*.info.synopsis
When using the site 'searchables' feature:
site_map.searchables.*.asset_metadata.title
site_map.searchables.*.assets.*.title
Type:
string - the field is matched in entirety (suitable for tags and titles)
text - the field is matched by individual words (suitable for synopsis and descriptions)
Histogram:
Return a histogram of all matched values. Only available for type 'string'.
Label: title (e.g.)
Paths: public.asset_metadata.titles...title (e.g.)
Deployed changes for
add a 'Search Index" box to the app. If there is an index (if last run is successful) then we can add a third section and just call it "Search Index" with a text box. We will add some sample search terms in the '?' inline help. Then click "Search" and just make the search request and display the result in that json tree format (same as you do currently with the search stats).
Deployed to prod.
Create a new page for managing index fields with an additional way to update search index.
Index settings
/
Example structure of indexer fields:
Steps for updating index:
Search reference: https://github.com/qluvio/elv-search