Update README wording for SEARCH_API_SERVER_ID

Created on 27 June 2023, about 2 years ago
Updated 15 July 2024, 12 months ago

Issue

  1. With the latest release, if you upload the Solr Cloud configset with Drush, the Server ID variable is missing, and output as %server_id:
    $ ddev drush --numShards=1 search-api-solr:upload-configset solr_server
     [success] Solr configset for %server_id uploaded.
    

    UPDATE: It's a Search API issue and will be fixed in πŸ› Logger string replacement doesn't work Fixed .

  2. In the README's, this is the current wording:

    ddev drush --numShards=1 search-api-solr:upload-configset SEARCH_API_SERVER_ID

    Note: SEARCH_API_SERVER_ID is the machine name of your Search API server. The number of "shards" should always be "1" as this local installation only runs a single Solr node.

    Would this be better?

    ddev drush --numShards=1 search-api-solr:upload-configset SERVER_ID

    Note: Replace SERVER_ID with your Search API server machine name. The number of "shards" should always be "1" as this local installation only runs a single Solr node.

    PR on Github: https://github.com/mkalkbrenner/search_api_solr/pull/92

πŸ› Bug report
Status

Fixed

Version

4.2

Component

Code

Created by

πŸ‡©πŸ‡°Denmark ressa Copenhagen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ressa
  • πŸ‡©πŸ‡ͺGermany mkalkbrenner πŸ‡©πŸ‡ͺ

    I agree with the suggested wording in 2.

    Regarding the string replacement in 1: we leverage the search_api logger. I quickly checked the search_api code and the string replacement there is the same.
    But yes, it is not working (anymore). Could you create a corresponding issue in search_api's queue and link it here?

  • πŸ‡©πŸ‡°Denmark ressa Copenhagen

    Thanks for a fast response, I created πŸ› Logger string replacement doesn't work Fixed .

  • Status changed to Needs review about 2 years ago
  • πŸ‡©πŸ‡°Denmark ressa Copenhagen

    And great with the README, I created a PR: https://github.com/mkalkbrenner/search_api_solr/pull/92.

  • πŸ‡©πŸ‡ͺGermany mkalkbrenner πŸ‡©πŸ‡ͺ

    And great with the README, I created a PR: https://github.com/mkalkbrenner/search_api_solr/pull/92.

    I already committed a corresponding change some hours ago.

  • πŸ‡©πŸ‡°Denmark ressa Copenhagen

    Ok, I closed the PR.

  • Status changed to Fixed almost 2 years ago
  • πŸ‡©πŸ‡°Denmark ressa Copenhagen

    This has been fixed, so closing this issue.

  • Automatically closed - issue fixed for 2 weeks with no activity.

  • Status changed to Fixed over 1 year ago
  • πŸ‡©πŸ‡°Denmark ressa Copenhagen

    The Solr logger issue has been fixed in another issue.

  • πŸ‡ΊπŸ‡ΈUnited States sjhuskey

    I just tried following the instructions in the README.md file with my site, Drupal 10.3.0 running locally with DDEV. When I tried ddev drush --numShards=1 search-api-solr:upload-configset dll_catalog, as recommended in the documentation, I received the following error:

    Command "search-api-solr:upload-configset" is not defined.             
                                                                             
      Did you mean one of these?                                             
          search-api-clear                                                   
          search-api-disable                                                 
          search-api-enable                                                  
          search-api-index                                                   
          search-api-list                                                    
          search-api-search                                                  
          search-api-solr-delete-and-reinstall-all-field-types               
          search-api-solr-get-server-config                                  
          search-api-solr-multilingual-delete-and-reinstall-all-field-types  
          search-api-solr-multilingual-get-server-config                     
          search-api-solr:execute-raw-streaming-expression                   
          search-api-solr:finalize-index                                     
          search-api-solr:get-server-config                                  
          search-api-solr:install-missing-fieldtypes                         
          search-api-solr:reinstall-fieldtypes                               
          search-api-status                                                  
          search-api:clear                                                   
          search-api:disable                                                 
          search-api:disable-all                                             
          search-api:enable                                                  
          search-api:enable-all                                              
          search-api:index                                                   
          search-api:list                                                    
          search-api:rebuild-tracker                                         
          search-api:reset-tracker                                           
          search-api:search                                                  
          search-api:server-clear                                            
          search-api:server-disable                                          
          search-api:server-enable                                           
          search-api:server-list                                             
          search-api:set-index-server                                        
          search-api:status
    

    I tried ddev drush --numShards=1 search-api-solr-get-server-config dll_catalog and found that the "--numShards" option does not exist.

Production build 0.71.5 2024