SilverCart Forum

We moderate this Forum and we're here to help. Have you already run a forum search to check if your problem has already been solved?

You can help us helping you by providing detailed error messages, screenshots and logfile entries.

SebastianRamon

Page: 1
Topic Apache Solr integration 2427 Views

Apache Solr integration

13 July 2011 at 9:30am

Hey,

I read about solr in one of your tweets, but I could not find anything on the website.

How does it work and when will it be published? Does it rely on the solr search module for silverstripe http://silverstripe.org/solr-search-module/ ?

Jethro

Re: Apache Solr integration

13 July 2011 at 10:10am

Hello Jethro,

we haven't published the Solr code yet, but will do so in a short time (presumably with Silvercart version 1.1).
Silvercart's Solr integration doesn't make use of the Solr search module for Silverstripe, since it's very basic at the moment. Instead we rely on the SolrPHP client (http://code.google.com/p/solr-php-client/) that'll get delivered together with Silvercart.

The current state is that you can configure wether to use the regular or the Solr search in the storeadmin; additionally you can configure the host, port and url to the Solr server via the storeadmin. The search results page adapts automatically to these settings.

We deliver a preconfigured schema.xml file with datafield definitions and a data-config.xml file, The Solr solrconfig.xml file needs to be configured by the user manually, but there'll be page for this in the Silvercart's online documentation.

As you can see the integration is at a starting point right now, but we hope to bring it forward very fast with a focus on the configuration via the storeadmin and extensability for projects using Silvercart (e.g. when one decorates additional fields to the SilvercartProduct object).

Best regards,
Sascha