dev-master
9999999-dev
OSL-3.0
The Requires
Wallogit.com
2017 © Pedro Peláez
Speed up that slow global admin search., (*1)
, (*2)
, (*3)
Pretty easy to install, if you already have java installed, as I did in my local., (*4)
wget https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-0.90.5.zip unzip elasticsearch-0.90.5.zip elasticsearch-0.90.5/bin/elasticsearch -f
Boom - it's installed and running now., (*5)
"require": {
"kalenjordan/elastic-search": "dev-master",
"ruflin/elastica": "dev-master"
}
This will speed up the rate at which the autocomplete fires., (*6)
# app/design/adminhtml/default/default/template/page/header.phtml
new Ajax.Autocompleter(
'global_search',
'global_search_autocomplete',
'<?php echo $this->getUrl('adminhtml/index/globalSearch') ?>',
{
paramName:"query",
minChars:2,
indicator:"global_search_indicator",
updateElement:getSelectionId,
evalJSON:'force',
**frequency: 0.01**
}
);
This is just in early development., (*7)
Might need a more bulletproof authentication scheme, but bootstrapping Magento isn't an option for performance reasons., (*8)
Some people will probably want support for URL keys in the autocomplete results, (*9)
Use bulk API to insert documents when doing reindexAll(), (*10)
OSL-3.0