From 3eef7345a6276e1f63b5db449be7e119eee91d65 Mon Sep 17 00:00:00 2001 From: Andrea Cecchi Date: Wed, 15 Jan 2025 15:22:10 +0100 Subject: [PATCH] remove missing references for searchwords --- CHANGES.rst | 2 ++ README.rst | 14 +------------- config/dev/conf/schema.xml | 2 -- config/test/conf/managed-schema | 2 -- config/test/conf/schema.xml | 2 -- 5 files changed, 3 insertions(+), 19 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index d75f727..4cdbfe0 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -9,6 +9,8 @@ Changelog [cekk] - Sort solr keywords vocabulary in alphabetical order. [cekk] +- Remove unused behavior with searchwords and showinsearch fields. + [cekk] 1.5.4 (2024-12-06) ------------------ diff --git a/README.rst b/README.rst index 37b096e..8d6c548 100644 --- a/README.rst +++ b/README.rst @@ -15,8 +15,6 @@ You can see an example in config folder of this product. By default we mapped all base Plone indexes/metadata into SOLR, plus some additional fields:: - - @@ -26,8 +24,7 @@ By default we mapped all base Plone indexes/metadata into SOLR, plus some additi -- `searchwords`, `view_name`, `path_parents`, `path_depth`, `site_name` are needed for query filter and boost (see below) -- `showinsearch` is needed to allow/disallow single content indexing +- `view_name`, `path_parents`, `path_depth`, `site_name` are needed for query filter and boost (see below) - `url` is an index where we store frontend url - `@id`, `@type` and `title` are needed for plone.restapi-like responses @@ -113,15 +110,6 @@ text into their title than in the text, you could set something like this:: title^1000.0 SearchableText^1.0 description^500.0 -You can also elevate by *searchwords*. - -`bq` specifies an additional, optional, query clause that will be added to the user’s main query to influence the score. -For example if we want to boost results that have a specific `searchwords` term:: - - searchwords:something^1000 - -Solr will improve ranking for results that have "*something*" in their searchwords field. - `bf` specifies functions (with optional boosts) that will be used to construct FunctionQueries which will be added to the user’s main query as optional clauses that will influence the score. Any `function supported natively `_ by Solr can be used, along with a boost value. diff --git a/config/dev/conf/schema.xml b/config/dev/conf/schema.xml index 7fa62d2..94f41e6 100644 --- a/config/dev/conf/schema.xml +++ b/config/dev/conf/schema.xml @@ -156,8 +156,6 @@ - - diff --git a/config/test/conf/managed-schema b/config/test/conf/managed-schema index 92928ea..8a04239 100644 --- a/config/test/conf/managed-schema +++ b/config/test/conf/managed-schema @@ -174,8 +174,6 @@ - - diff --git a/config/test/conf/schema.xml b/config/test/conf/schema.xml index 6babfa5..4861c70 100644 --- a/config/test/conf/schema.xml +++ b/config/test/conf/schema.xml @@ -158,8 +158,6 @@ - -