integer-net / solr-magento1
IntegerNet_Solr Module for Magento 1 (free)
Installs: 5 336
Dependents: 0
Suggesters: 0
Security: 0
Stars: 48
Watchers: 20
Forks: 12
Open Issues: 21
Type:magento-module
Requires
- aoepeople/aoe_layoutconditions: ~1.0.0
- integer-net/solr-base: ^3.3.0
Requires (Dev)
- ecomdev/ecomdev_phpunit: dev-dev
- mikey179/vfsstream: ~1.3
- phpunit/phpunit: ~4.5
Suggests
- firegento/psr0autoloader: With this extension you can include the composer autoloader and you don't need to activate the custom autoloader shipped with IntegerNet_Solr
- magento-hackathon/magento-composer-installer: Magento module installer
This package is auto-updated.
Last update: 2023-08-25 09:12:25 UTC
README
IntegerNet_Solr Free
This is a free extension to integrate Solr as a product search in an online store running on Magento Community Edition 1.7 - 1.9.
Build Status (master)
Features
Fast Search Results
The main feature of this is extension is the integration of Solr as a product search in your Magento store. Solr is a lot faster as a search engine than Magento's native MySQL search. Also, the search algorith is better, so search results are more relevant.
Fuzzy Search
The search algorithm performs a fuzzy search to help with usability. When you have typos or misspellings in your search request, the fuzzy search will look for similar words, increasing the chance of finding a match.
Boost Products or Attributes
Use your catalog search as a marketing feature to increase the sales of certain products. You can either select individual or a bunch of products to boost, or you can boost an attribute. Whenever one of these boosted products or attributes are a match with the search term, they are ranked higher than usual.
Use second Solr Core to avoid downtime during Indexing
If you have a second Solr core available (you should!), you can use that to run the indexing process on while the first core still serves the search during that time. Once indexing is finished, the cores will be switched automatically in an atomic operation.
Requirements
- Magento Community Edition 1.7 to 1.9
- Solr 4.x to 6.x
- PHP 5.3 to 7.0
Installation
- Install Solr and create at least one working core
- Copy the files from the solr_conf dir of the module repository to the conf dir of your Solr core
- Reload the Solr core (or all of Solr)
- (If activated: deactivate the Magento compiler)
- If using Composer: Just add "integer-net/solr-magento1" to the list of requirements in your composer.json. Otherwise: Download the archive from the Releases Page. Copy the files and directories from the src directory of the module repository into your Magento installation. Attention: You will need the files of two more repositories: The IntegerNet_Solr base library and the Aoe_LayoutConditions module. They are already contained in the release archive.
- Clear the Magento cache
- (Recompile and reactivate the Magento compiler – it is not recommended to use the compiler mode of Magento, independent of the IntegerNet_Solr module)
- Go to the Magento backend, go to System -> Configuration -> Solr
- Enter the Solr access data and configure the module (see Documentation for more information - you will also find an explanation there about how to find out the correct access data)
- Click "Save Configuration". The connection to the Solr server will automatically be tested. You’ll get a success or error message about that.
- Reindex the integernet_solr index. We recommend doing this via shell. Go to the shell dir and call
php -f indexer.php -- --reindex integernet_solr
- Submit a search request with a slight typo on your page. The search result page should show matching products.
Configuration
The extension comes with a complete installation and configuration guide. Every configuration option is explained. You can find it on our website: Documentation
Modification
You are welcome to modify the extension as you like. To make it easier, we have implemented a number of events. For a quick start and an example, please have a look at our blog post: How to Use Events to Tweak Solr Search
License
The extension IntegerNet_Solr Free is published under the license GNU Lesser Public General License (LGPL v3). You can find the license in the file License. For more information and an explanation of this license, please see the following article: Information on GNU Lesser General Public License
Contributing
If you would like to contribute to this extension, please fork the repository. Any pull requests are warmly welcome.
Support
Please note that this is a free extension. We do not provide individual customer support for this extension. If you find a bug, please open a GitHub issue.
Uninstall
If you want to uninstall the extension, please first remove all extension files. Then execute the following SQL Queries (please modify the table names if you are using a table prefix):
DELETE FROM eav_attribute WHERE attribute_code LIKE 'solr_%'; DELETE FROM core_resource WHERE code = 'integernet_solr_setup'; DELETE FROM core_config_data WHERE path LIKE 'integernet_solr/%';
Upgrade
IntegerNet_Solr Free is an offspring of IntegerNet_Solr Pro, our powerful Solr extension for Magento. It offers more features, such as an extensive autosuggest window, multiselect filters, product lists in categories loaded via Solr and support of Magento Enterprise Edition. For more information, please visit our website.