Blogs on

Apache Solr

knackforge blog

How to make Apache solr search programmatically from Drupal 7

Recently I came across a situation where I needed to make Apache solr search from drupal programmatically. Basically we have Apache solr module available in drupal, which enables to connect with solr for searching. There are loads of documentation for setting solr search with drupal, so instead going into those details, lets head straight to the custom code required to make programmatic solr search from drupal:

Continue reading →
knackforge blog

How to protect Apache Solr admin console

If you are using the default start.jar that comes along with Apache solr, to run your solr server instances for Drupal site, the following instructions might help to secure the administrative console from unauthorized access.

The default setup relies on Jetty,

[[{"type":"media","view_mode":"media_original","fid":"100","attributes":{"alt":"","class":"media-image","typeof":"foaf:Image"}}]]

Continue reading →
knackforge blog

Querying the data in Apache Solr index from drupal module

At KnackForge we thrive hard to deliver best Drupal sites. As a part of this cause, for our potential Drupal sites we opt to use Apache solr as engine offering searching functionality. This makes our sites more scalable.

Recently team KnackForge was engaged in developing a massive Science News publishing site inspired by eScienceNews.com. More details about this site can be found in this case study page in drupal.org.

Continue reading →