Skip to content

Feature/solr upgrade#6

Draft
anusharanganathan wants to merge 5 commits intodevfrom
feature/solr_upgrade
Draft

Feature/solr upgrade#6
anusharanganathan wants to merge 5 commits intodevfrom
feature/solr_upgrade

Conversation

@anusharanganathan
Copy link
Collaborator

Added a new container for solr9. When testing is successful, we can delete solr (=solr6)

@anusharanganathan anusharanganathan changed the title Feature/solr upgrade Draft: Feature/solr upgrade Jan 17, 2025
@anusharanganathan anusharanganathan changed the title Draft: Feature/solr upgrade draft: Feature/solr upgrade Jan 17, 2025
@anusharanganathan anusharanganathan marked this pull request as draft January 17, 2025 03:41
@anusharanganathan anusharanganathan changed the title draft: Feature/solr upgrade Feature/solr upgrade Jan 17, 2025
@anusharanganathan
Copy link
Collaborator Author

anusharanganathan commented Jan 19, 2025

Status as of commit Updates to solr9 schema and config

What works

  • There is a n new container for Solr9 in docker compose.
  • Change the SOLR_URL in the .env file to point to the SOLR you want. Both web and indexer use this .env file.
    # For SOLR 6, use hostname=solr
    SOLR_URL=http://solr:8983/solr/
    
    # For SOLR 9, use hostname=solr9
    SOLR_URL=http://solr9:8983/solr/
    
  • To index the data in solr 9, the steps ae the same as indexing the data in Solr 6. Instructions to use the indexer are in the Indexer/Readme
  • Able to index data in Solr 9 without any errors
  • All of the pages work in the UI

Issues to be addressed

  • The results in search and browse are not consistent with Solr 6
    • The results from search are much lower than with Solr 6 (for example people = Abbot produces 63 results with Solr 6 and 36 results with Solr 9)
    • The results for browse includes names that do not start with a for example

Points to note

  • The browse field type was changed to text_gen_sort from AlphaOnlySort because of an error during indexing (in commit 6002d31). Look at AlphaOnlySort. Perhaps we need the tokeniser.
  • Added the default search field default_search_field to solrconfig. See diff for example. Maybe this should be added only to select, query and spell and not update
  • Do we need to update the stop words and other similar settings?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant