Magento Search Extension TECHNICAL DOCUMENTATION

Similar documents
JobScheduler Installation by Copying

Solr Bridge Search Installation Guide

Monitoring Oracle Enterprise Performance Management System Release Deployments from Oracle Enterprise Manager 12c

Server Setup and Configuration

LAE 5.1. Windows Server Installation Guide. Version 1.0

IBM WebSphere Application Server V8.5 lab Basic Liberty profile administration using the job manager

Enter Here -> Directory Submitter Software For One > Visit Here <

Practice Fusion API Client Installation Guide for Windows

JMETER - MONITOR TEST PLAN

IUCLID 5 Guidance and Support

MIGS Payment Client Installation Guide. EGate User Manual

KonyOne Server Installer - Linux Release Notes

As a CIFEX user, we suggest you have a look at Use Cases. As a CIFEX administrator, we suggest you have at least a look at

SYWorks Vulnerable Web Applications Compilation For Penetration Testing Installation Guide

EMC Documentum Connector for Microsoft SharePoint

docs.hortonworks.com

Extending Remote Desktop for Large Installations. Distributed Package Installs

Installation and Deployment

NGASI Shared-Runtime Manager Administration and User Guide WebAppShowcase DBA NGASI

An Overview of Servlet & JSP Technology

Continuous Integration (CI) and Testing - Configuring Bamboo, Hudson, and TestMaker

Oracle EXAM - 1Z Oracle Weblogic Server 11g: System Administration I. Buy Full Product.

Volume 1: Core Technologies Marty Hall Larry Brown. An Overview of Servlet & JSP Technology

Install guide for Websphere 7.0

Oracle Exam 1z0-102 Oracle Weblogic Server 11g: System Administration I Version: 9.0 [ Total Questions: 111 ]

Git - Working with Remote Repositories

Installation Instructions

MapGuide Open Source Repository Management Back up, restore, and recover your resource repository.

EMC Documentum Content Management Interoperability Services

Apache Web Server System Description

Installing Dspace 1.8 on Ubuntu 12.04

UFTP AUTHENTICATION SERVICE

On premise upgrade guide (to 3.3) XperiDo for Microsoft Dynamics CRM

Expresso Quick Install

Running Multiple Shibboleth IdP Instances on a Single Host

Bitrix Site Manager. VMBitrix Virtual Machine. Quick Start And Usage Guide

SSO Plugin. J System Solutions. Upgrading SSO Plugin 3x to 4x - BMC AR System & Mid Tier.

SAS Marketing Optimization. Windows Installation Instructions for Hot Fix 51mo14

Wolfr am Lightweight Grid M TM anager USER GUIDE

OutDisk 4.0 FTP FTP for Users using Microsoft Windows and/or Microsoft Outlook. 5/1/ Encryptomatic LLC

KonaKart Portlet Installation for Liferay. 6 th February DS Data Systems (UK) Ltd., 9 Little Meadow Loughton, Milton Keynes Bucks MK5 8EH UK

Secure Messaging Server Console... 2

NovaBACKUP xsp Version 15.0 Upgrade Guide

INUVIKA OVD INSTALLING INUVIKA OVD ON RHEL 6

System i Access for Web Configuring an Integrated Web Application Server Instance

Sonatype CLM Enforcement Points - Continuous Integration (CI) Sonatype CLM Enforcement Points - Continuous Integration (CI)

User Manual: ConPaaS Web Hosting Service

PowerLink for Blackboard Vista and Campus Edition Install Guide

EMC Documentum Content Services for SAP Repository Manager

Creating Web Services Applications with IntelliJ IDEA

X-POS GUIDE. v3.4 INSTALLATION SmartOSC and X-POS

Spectrum Technology Platform. Version 9.0. Spectrum Spatial Administration Guide

McAfee One Time Password

CYCLOPE let s talk productivity

Specops Command. Installation Guide

Upgrading VMware Identity Manager Connector

Eylean server deployment guide

Define and Configure an Application Request Routing Server Farm

MySQL Quick Start Guide

VERSION 9.02 INSTALLATION GUIDE.

Spam Marshall SpamWall Step-by-Step Installation Guide for Exchange 5.5

Hudson configuration manual

Installing Drupal on Your Local Computer

A Linux/Unix Operating System, or Windows Vista/7 with Cygwin installed;

AklaBox. The Ultimate Document Platform for your Cloud Infrastructure. Installation Guideline

Lucid Key Server v2 Installation Documentation.

SVNManager Installation. Documentation. Department of Public Health Erasmus MC University Medical Center

Security Correlation Server Backup and Recovery Guide

SAS Marketing Automation 4.4. Unix Install Instructions for Hot Fix 44MA10

ProjectWise Mobile Access Server, Product Preview v1.1

Installation Guide for contineo

Installation and Upgrade Guide. PowerSchool Student Information System

JobScheduler Web Services Executing JobScheduler commands

24x7 Scheduler Multi-platform Edition 5.2

NGASI Universal APP Panel Administration and User Guide WebAppShowcase DBA NGASI

IceWarp to IceWarp Server Migration

using version control in system administration

Published. Technical Bulletin: Use and Configuration of Quanterix Database Backup Scripts 1. PURPOSE 2. REFERENCES 3.

IBM WEBSPHERE LOAD BALANCING SUPPORT FOR EMC DOCUMENTUM WDK/WEBTOP IN A CLUSTERED ENVIRONMENT

Usage Tracking for IBM InfoSphere Business Glossary

Perceptive Intelligent Capture Solution Configration Manager

MAMP 3 User Guide! March 2014 (c) appsolute GmbH!

Upgrading From PDI 4.0 to 4.1.0

PHP Integration Kit. Version User Guide

Programming on the Web(CSC309F) Tutorial: Servlets && Tomcat TA:Wael Aboelsaadat

Integrating Apache Web Server with Tomcat Application Server

Struts 2 - Practical examples

WebPanel Manual DRAFT

About This Document 3. Integration and Automation Capabilities 4. Command-Line Interface (CLI) 8. API RPC Protocol 9.

OpenEyes - Windows Server Setup. OpenEyes - Windows Server Setup

Cloud Homework instructions for AWS default instance (Red Hat based)

MySQL Quick Start Guide

Application Notes for Packaging and Deploying Avaya Communications Process Manager Sample SDK Web Application on a JBoss Application Server Issue 1.

Forward proxy server vs reverse proxy server

<Insert Picture Here> Introducing Hudson. Winston Prakash. Click to edit Master subtitle style

TECHNICAL NOTE SETTING UP A STRM UPDATE SERVER. Configuring your Update Server

CORISECIO. Quick Installation Guide Open XML Gateway

Transcription:

CHAPTER 1... 3 1. INSTALLING PREREQUISITES AND THE MODULE (APACHE SOLR)... 3 1.1 Installation of the search server... 3 1.2 Configure the search server for usage with the search module... 7 Deploy the index configuration files... 7 Configure HTTP basic authentication for accessing Apache Solr... 7 Configure compressed HTTP responses from Apache Solr... 9 1.3 Installation of the search module... 11 1.4 Post install setup in order to use the module... 13 CHAPTER 2... 16 2. SEARCH INDEX MANAGEMENT... 16 2.1 When does partial indexation occur... 16 Partial re-index or partial index clean... 16 Full re-index... 17 2.2 What commit policy should you use... 18 2.3 What index optimization should you choose... 19 CHAPTER 3... 22 3. FINE-TUNING THE APACHE SOLR SEARCH SERVER... 22 3.1 Defining and using stop words... 22 3.2 Defining and using synonyms... 23 3.3 Supported languages and stemming... 24 magento.evozon.com 2 support@magento.evozon.com

CHAPTER 1 In order to use the search module provided by Evozon you must have an Apache Solr server installed and configured. This chapter gives you basic guidelines regarding the installation of Apache Solr in a Jetty container and for preparing you for testing of the module. Its purpose however is not to assist someone in setting up the search server for production use. For such setup please consult dedicated books and web resources. The module is shipped with a command line tool that will assist you in various Solr management tasks. The tool can be found after the install of the module in the./solr subdirectory of your Magento install directory. Before being able to use the tool you must configure it. To do that you must copy the./solr/config.sample.php file to./solr/config.php. The tool.php script which is the script that exposes the tool's functionality is reading the config file on execution. All that the config.php file does is to set the PWD (Path to Working Directory) constant. The path must be the absolute path to the./solr directory. This configuration mitigates the differences between various deploy schemes for the module, which my use symbolic links or not to deploy code under the./solr directory. After checking the config.php file for correct PWD constants setting please make sure you are in./solr directory and try running tool.php. In a successful run the tool lists all the available commands: $ php tool.php Usage tool.php <command> [ options ] Available <command> values are: solr-install Installs Solr (version >= 5.0.0) delete-index-data Deletes indexed data from Solr deploy-config Deploys Solr configuration and rebuilds empty index start Starts the app container service stop Stops the app container service restart Restarts the app container service magento.evozon.com 3 support@magento.evozon.com

The available command options are: solr-install : installs the provided Apache Solr version on the local machine using the configuration options provided through command line arguments. This option supports only installation of Apache Solr versions greater or equal to 5.0.0. Please note that this command, and in fact all of them, require you to run them with superuser rights, because several tasks such as starting or stopping a service require those rights. The options for solr-install command are listed if the command is run with the -h flag and are: $ php tool.php solr-install -h Usage: tool.php solr-install [ options ] --solr-port [ <string> ] (Optional) Solr port (Default is 8983) --solr-service-name [ <string> ] (Optional) Solr service name (Default is solr) --solr-kit-base-url [ <string> ] (Optional) The base URL for Solr archives (Default is http://archive.apache.org/dist/lucene/solr) --solr-kit-version [ <string> ] (Optional) The version of Solr to install (Default is 5.0.0) --solr-install-path [ <string> ] (Optional) Solr install path (Default is /opt/solr) As you can see all the arguments are optional and there are default values specified for each of them. Change this defaults according to your needs and the script will take care of downloading the archive with the Apache Solr version and unpack its contents at the specified path. The tool will also execute the shell installer provided by Solr and copy the products index configuration files to the right path upon completion. delete-index-data: stops the Java container using the configured service name and deletes the files that the products index consists of. It restarts the Java container after the index files were removed. This command is useful when, due to some errors the index, it becomes messy and unreliable and you want to start over with a clean index in which to re-index all products. magento.evozon.com 4 support@magento.evozon.com

Running the tool with the -h flag for this options shows the following configuration options: $ php tool.php delete-index-data -h Usage: tool.php delete-index-data [ options ] -p --path [ <string> ] (Optional) The path to solr application. Default value is "/var/solr/data" -c --core [ <string> ] (Optional) The name of the core/collection. Default value is "products" -s --service [ <string> ] (Optional) The name of the service. Default value is "solr" The arguments for this command are all optional and the defaults work on the premise that the install of Solr/Jetty was performed with the defaults and also the default core name products was used in install process. deploy-config: this command stops the Solr service, deletes the index files, copies the configuration files from./solr/products subdirectory to the corresponding place in Solr install directory and then restarts the service. This command is useful when receiving updates for the module that need to be deployed as Solr configuration changes and you want to do that with a single command. $ php tool.php deploy-config -h Usage: tool.php deploy-config [ options ] -p --path [ <string> ] (Optional) The path to solr application. Default value is "/var/solr/data" -c --core [ <string> ] (Optional) The name of the core/collection. Default value is "products" -s --service [ <string> ] (Optional) The name of the service. Default value is "solr" -u --user [ <string> ] (Optional) The name of the system user that runs the service. Default values is "solr" magento.evozon.com 5 support@magento.evozon.com

Once again all the options for the command are optional and there are defaults provided for all of them. They work on the premise that the install of Solr/Jetty was performed with the defaults and also the default core name products was used in install process. start, stop, restart: are shortcut commands that start, stop or restart the jetty service. These are more for convenience, when using the tool to do install or deploy and you need to restart the service it may be easier to just adjust a previously executed command instead of writing a new one. There is only one optional argument for each of them: $ php tool.php stop -h Usage: tool.php stop [ options ] -s --service [ <string> ] (Optional) The name of the service. Default value is "solr" Now that we've seen what each of the commands implemented by the command line tool does we should continue with the installation of Apache Solr. Everything you need to do to install Solr and properly configure it for usage alongside the Evozon Search module is to cd to the./solr directory and run: $ php tool.php solr-install You could perhaps provide some custom arguments for the above command. If you already have a Jetty application container or a Tomcat application container and you want to deploy Apache Solr in that container please follow the online documentation on installing Apache Solr in other application container or tutorials about custom installations. The tool we provide was built for the scenario in which the user had no previous installation of any kind and the Solr web application would have to be installed from scratch. sample*: Thanks for viewing this sample! The full text manual is included in the downloadable file you ll receive after purchasing the extension. magento.evozon.com 6 support@magento.evozon.com