localgovdrupal / localgov_search_solr

Default solr index and configuration for Sitewide search for LocalGov Drupal
0 stars 0 forks source link

Still contains config for localgov_geo #15

Open andybroomfield opened 9 months ago

andybroomfield commented 9 months ago

Just trying to setup solr on a clean install

Seeing the following when enabling the localgov_search_solr module.

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "localgov_geo_address" plugin does not exist. Valid plugin IDs for Drupal\Core\Field\WidgetPluginManager are: address_default, address_zone_default, address_country_default, bhcc_form_start_field_widget, condition_field_default, moderation_state_default, date_recur_basic_widget, date_recur_modular_sierra, date_recur_modular_alpha, date_recur_modular_oscar, datetime_datelist, datetime_default, daterange_datelist, daterange_default, dynamic_entity_reference_options_select, dynamic_entity_reference_options_buttons, dynamic_entity_reference_default, entity_browser_entity_reference, entity_browser_file, entity_reference_hierarchy_select, entity_reference_hierarchy_autocomplete, entity_reference_revisions_autocomplete, file_generic, fontawesome_icon_widget, geo_entity_address, geofield_bounds, geofield_default, geofield_latlon, geofield_dms, geofield_map, geolocation_html5, geolocation_latlng, geolocation_geometry_widget_google_maps, geolocation_googlegeocoder, image_image, image_widget_crop, inline_entity_form_complex, inline_entity_form_simple, layout_paragraphs, leaflet_widget_default, link_default, link_attributes, linkit, localgov_entity_reference_labels, localgov_directories_facet_checkbox, localgov_directories_channel_selector, review_date, link_with_type, oembed_textfield, media_library_widget, metatag_firehose, office_hours_list, office_hours_exceptions, office_hours_exceptions_only, office_hours_default, office_hours_season_only, path, preview_link_entities_widget, tablefield, telephone_default, text_textarea_with_summary, text_textfield, text_textarea, viewsreference_select, viewsreference_autocomplete, webform_entity_reference_autocomplete, webform_entity_reference_select, entity_reference_paragraphs, paragraphs, datetime_timestamp, email_default, options_select, string_textarea, uri, string_textfield, language_select, number, boolean_checkbox, entity_reference_autocomplete, options_buttons, entity_reference_autocomplete_tags in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).

I assume there is some config for localgov_geo still present that needs to be updated?

ekes commented 8 months ago

There's no index defined in this module. And even in the search module it doesn't mention the address entity, nor localgov_geo.

I'd assume that this must be something directories related? As that does index the geo entities. I don't think we ever got as far as a suggested config for directories solr?

Anyway to double check, except for a grep, I did:

~/I/c/l/localgov-project-3 (3.x)> ddev drush si localgov
 You are about to:
 * DROP all tables in your 'db' database.

 Do you want to continue? (yes/no) [yes]:
 > yes

 [notice] Starting Drupal installation. This takes a while.
 [notice] Performed install task: install_select_language
 [notice] Performed install task: install_select_profile
 [notice] Performed install task: install_load_profile
 [notice] Performed install task: install_verify_requirements
 [notice] Performed install task: install_verify_database_ready
 [notice] Performed install task: install_base_system
 [notice] Performed install task: install_bootstrap_full
 [notice] Performed install task: install_profile_modules
 [notice] Performed install task: install_profile_themes
 [notice] Performed install task: install_install_profile
 [notice] Performed install task: install_configure_form
 [notice] Performed install task: install_finished
 [success] Installation complete.  User name: admin  User password: ZGHbgtUqAe
~/I/c/l/localgov-project-3 (3.x)> ddev drush en localgov_search
The following module(s) will be enabled: localgov_search, search_api

 Do you want to continue? (yes/no) [yes]:
 > yes

 [success] Successfully enabled: localgov_search, search_api
~/I/c/l/localgov-project-3 (3.x)> ddev drush en localgov_search_solr
The following module(s) will be enabled: localgov_search_solr, search_api_solr, language

 Do you want to continue? (yes/no) [yes]:
 > yes

 [success] Successfully enabled: localgov_search_solr, search_api_solr, language