Daniel-KM / Omeka-S-module-SearchSolr

Search Omeka resources instantly and deeply with Apache Lucene / Solr
Other
3 stars 1 forks source link

external solr server. #2

Closed jamesbiasemory closed 4 years ago

jamesbiasemory commented 4 years ago

Is there anything else I would need to change to make it use an external solr server? Also would changing the scheme to https work?

Would it be possible at some point to add either a config file or an Omeka admin interface to configure this?

protected function getSolrCoreDefaultSettings()
{
    return [
        'client' => [
            'scheme' => 'http',
            'host' => 'localhost',
            'port' => 8983,
            'path' => '/',
            // 'collection' => null,
            'core' => 'omeka',
            'username' => null,
            'password' => null,
        ],
        'is_public_field' => 'is_public_b',
        'resource_name_field' => 'resource_name_s',
        'sites_field' => 'site_id_is',
    ];
}
Daniel-KM commented 4 years ago

You don't need anything specific to make it working, to fill the form should be enough, isn't it? image

jamesbiasemory commented 4 years ago

thank you for getting back to me. I do not have a configure button on my installation in the modules menu. thats what was confusing me. I found it, thanks so much!