Showing posts with label Apache Solr. Show all posts
Showing posts with label Apache Solr. Show all posts

Monday, April 11, 2016

Solr 6 now available from Bitnami!


We're happy to announce a new version of Bitnami Solr Stack:

Apache Solr is a fast search platform from the open source Apache Lucene project. Solr makes use of Lucene, a powerful search engine framework, and includes an http-wrapper around the robust framework so it is ready-to-use out of the box. Features include full-text search, hit highlighting, faceted search, dynamic clustering, database integration, rich document handling, and geospatial search. Solr is used by some of the largest companies in the world to power search on their public projects.

A few of the major changes in this new version include:
  • Improved defaults for "Similarity" used in Solr, in order to provide a better default experience for new users.
  • Improved "Similarity" defaults for users upgrading: DefaultSimilarityFactory has been removed, the implicit default Similarity has been changed to SchemaSimilarityFactory, and SchemaSimilarityFactory has been modified to use BM25Similarity as the default for field types that do not explicitly declare a Similarity.
  • Deprecated GET methods for the schema are now accessible through the bulk API. The output has less details and is not backward compatible.
  • Users should set useDocValuesAsStored="false" to preserve sort order on multi-valued fields that have both stored="true" and docValues="true".
  • Deprecated SolrServer and subclasses have been removed, use SolrClient instead.
  • Filter support added to Real-time get.
  • Column alias support added to the Parallel SQL Interface.
  • New command added to switch between secure/non-secure mode in zookeeper.
  • Now possible to use IP fragments in replica placement rules.

  • And many more features that you can find on the Solr Website.
With Bitnami, you can deploy a ready-to-run Solr 6 Stack with just one click. To get started, choose from our all-in-one free native installers (for Linux, Windows and MacOSX), virtual machines and Cloud Images for Amazon EC2, Azure, Digital Ocean, vCloud, 1&1 and Google Cloud Platform.

Wednesday, June 6, 2012

Apache Solr ready-to-run for Windows

We have just released the Windows version of the BitNami Apache Solr Stack. Solr is an open source enterprise search platform from the Apache Lucene project. This Stack installs and configures Solr Server through Jetty for Windows systems.

Apache Solr is frequently used with Drupal for implementing a search framework. You can find a quick guide about how to connect Drupal with Apache Solr at http://blog.bitnami.org/2012/05/new-bitnami-apache-solr-stack.html

Tuesday, May 29, 2012

New BitNami Apache Solr Stack


We are happy to announce a new member in the BitNami family: Apache Solr. It is an open source enterprise search platform from the Apache Lucene project. Major features include powerful full-text search, hit highlighting, faceted search, dynamic clustering, database integration, and rich document handling. Solr is written in Java and runs as a standalone full-text search server within a servlet container such as Jetty.

In this post, we walk you through configuring Drupal 7 with Solr in Amazon EC2. We will start with a BitNami Drupal image but these steps will also work for your own Drupal installation.

First, start two instances from the Amazon console, one with Drupal and one with Solr. You can search by name in the Community AMIs listings or you can start them directly from the BitNami Drupal and Solr pages. In this case, we will start an EBS image with Ubuntu 64 bit.



For the Solr instance, you must add a new rule to your security group. The default Solr port is 8983, so you should open it to connect the Drupal application with the Solr instance. If you know the IP address where the Drupal instance is running, you can enable connections only to that IP address.



Once the Solr and Drupal instances are running, you can check that both are running using the public domain names.

The BitNami Drupal Stack already has the Apache Solr Search Integration module installed, so you just need to enable the Solr Search and Access modules. If you do not have this module installed, you can install it from the Administration panel.

The BitNami Solr AMI ships an example already configured. To configure the Solr server properly for Drupal, copy the schema.xml and solrconfig.xml files from the Solr Search module. You can find these files in the "/opt/bitnami/apps/drupal/htdocs/sites/all/modules/apachesolr/solr-conf" folder in the Drupal instance. Copy these files into the "/opt/bitnami/apache-solr/solr/conf" directory and restart the Solr server.

$ sudo /opt/bitnami/ctlscript.sh restart solr

In the Solr admin panel, you should now see something like "drupal-3.0-beta16". If this is the case, everything is ready on the Solr side.



Now, we will configure the Drupal application. Click on the "Modules" -> "Solr Search Framework" configuration button and add a new connection:

URL: http://Solr_IP:8983/solr
Name: Remote Solr

Test the connection. If it is not able to contact the Solr server, check that the IP address is correct and the 8983 port is ready for connections. 



Now, configure the Drupal application to use Solr by default. Go to "Configuration" -> "Search settings" and enable Apache Solr search in the default search modules. If you have already content in your Drupal installation, you can re-index your site. This could take some time depending on your blog content. That's it! Test the setup by trying to use the search block in your site to see the results. 

You can find specific documentation for Drupal configuration with Solr here.