created sapi processor to unindex unused taxo terms, added term id condition on sapi query

This commit is contained in:
2021-02-24 14:14:56 +01:00
parent 9f0b257c62
commit 182b61b08f
5 changed files with 145 additions and 16 deletions

View File

@@ -7,6 +7,7 @@ dependencies:
- taxonomy
- synonyms
- search_api
- materio_sapi
config:
- search_api.server.database_search_autocomplete
third_party_settings:
@@ -60,6 +61,7 @@ field_settings:
datasource_id: 'entity:taxonomy_term'
property_path: name
type: 'solr_text_custom:ngram'
boost: !!float 2
dependencies:
module:
- taxonomy
@@ -108,6 +110,7 @@ processor_settings:
solr_date_range:
weights:
preprocess_index: 0
term_used: { }
type_boost:
boosts:
'entity:taxonomy_term':