Center-for-Digital-Narrative / elmcip

Electronic Literature as a Model of Creativity and Innovation in Practice (ELMCIP) is a collaborative research project funded by Humanities in the European Research Area (HERA) JRP for Creativity and Innovation built in Drupal
https://elmcip.net
4 stars 0 forks source link

Install and use Solr as search engine #430

Closed steinmb closed 3 years ago

steinmb commented 4 years ago

Follow up from issue #341 where we due to time constrains by keeping the scope as small as possible choosed not to implement Solr though we in issue #36 pave way for this to happen one day.

Ref: https://lucene.apache.org/solr/

Scope

How to test

At launch should search return about the same results as today though no facets on the test page.

steinmb commented 4 years ago

A test instance have been ordered. All we have to do now is wait.

From: Thierry Toutain thierry.toutain@usit.uio.no Subject: Re: ELMCIP Solr instance Date: 19 September 2019 at 10:56:36 CEST To: Stein Magne Bjorklund steinmb@smbjorklund.com

Hei, den er skrevet på todo list. Vi sier fra når vi har opprette noe dere kan teste, Thierry

steinmb commented 4 years ago

They have a non working 7.7.x version in the works. Awaits feedback on my latest finding in the installation.

steinmb commented 4 years ago

@elmcip Solr backend up and running. I will keep it in test for a few weeks to make sure it perform and is stable. https://elmcip.net/test/search a test page for the new index. The Index do not have any facets enbabled and do not contain all fields as our current but should perhaps be enough for a rough test.

Screen Shot 2020-01-27 at 13 33 41

elmcip commented 4 years ago

Works as a rough test, though we want the facets and the same preview as we currently have. But the relevance actually seems better.

steinmb commented 3 years ago

Solr have been stable. Going to swap out the search backend storage in productions. Remove needs review tag.

steinmb commented 3 years ago
  1. Swaped out MariaDB as search backend.
  2. Removed test search page
  3. Removed MariaDB search backend config, make sure we drop all old indexed data
  4. Reindexed with Solr
  5. Going to keep search_api_db in the application stack. Useful for local testing if people do not have a Solr instance available.