B - TB SERVER
- Apache/2.4.6
- PHP 7.1.26
- Download and install the TB-elasticsearch module at https://store.thirtybees.com/shop-modules/front-office/elastic-search-module
- But the module is not up to date so you need make the changes describe at https://github.com/thirtybees/elasticsearch/compare/1.0.0...master in the followings files:
- elasticsearch.php
- views/templates/hook/vue/main-search.html.tpl
- views/templates/hook/vue/results.html.tpl
- views/templates/themes/panda/hook/vue/main-search.html.tpl
- views/templates/themes/transformer/hook/vue/main-search.html.tpl
- views/templates/themes/warehouse/hook/vue/main-search.html.tpl
- views/templates/themes/warehouse/hook/vue/results.html.tpl
- To solve "Amount of items indexed" not counting up inserted the following code after line #377
if ($product->active ==='1')
{ $product->active = true; }
else
{ $product->active = false;}
- If you want use php 7.2 you need made change at modules/elasticsearch/elasticsearch.php:
1191 # $xscheme = '([a-zA-Z][a-zA-Z\d+-.]*)';
$xscheme = '([a-zA-Z][a-zA-Z\d+\-.]*)';
1199 # $xhostName = '([a-zA-Z\d-.%]+)';
$xhostName = '([a-zA-Z\d\-.%]+)';
***
C - TB BACKOFFICE
BO / Modules and Services / Positions /displayTop / Top
BO / Modules and Services / Modules List / Block Layered Navigation / Configure / Disable
BO / Modules and Services / Modules List / Block Search / Configure / Disable
***
Any help to complete this elasticsearch cli raw installation will be aprreciate.
Question
pessoal2004
Any help to complete this elasticsearch cli raw installation will be aprreciate.
A - ELASTICSEARCH SERVER
$ yum install java-1.8.0-openjdk -y
$ curl -L -O https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.4.0.rpm
$ rpm -i elasticsearch-5.4.0.rpm
$ vim /etc/elasticsearch/elasticsearch.yml
network.host: 0.0.0.0
$ systemctl daemon-reload
$ systemctl enable elasticsearch.service
$ systemctl start elasticsearch.service
$ curl localhost:9200
***
B - TB SERVER
- Apache/2.4.6
- PHP 7.1.26
- Download and install the TB-elasticsearch module at https://store.thirtybees.com/shop-modules/front-office/elastic-search-module
- But the module is not up to date so you need make the changes describe at https://github.com/thirtybees/elasticsearch/compare/1.0.0...master in the followings files:
- elasticsearch.php
- views/templates/hook/vue/main-search.html.tpl
- views/templates/hook/vue/results.html.tpl
- views/templates/themes/panda/hook/vue/main-search.html.tpl
- views/templates/themes/transformer/hook/vue/main-search.html.tpl
- views/templates/themes/warehouse/hook/vue/main-search.html.tpl
- views/templates/themes/warehouse/hook/vue/results.html.tpl
- To solve "Amount of items indexed" not counting up inserted the following code after line #377
if ($product->active ==='1')
{ $product->active = true; }
else
{ $product->active = false;}
- If you want use php 7.2 you need made change at modules/elasticsearch/elasticsearch.php:
1191 # $xscheme = '([a-zA-Z][a-zA-Z\d+-.]*)';
$xscheme = '([a-zA-Z][a-zA-Z\d+\-.]*)';
1199 # $xhostName = '([a-zA-Z\d-.%]+)';
$xhostName = '([a-zA-Z\d\-.%]+)';
***
C - TB BACKOFFICE
BO / Modules and Services / Positions /displayTop / Top
BO / Modules and Services / Modules List / Block Layered Navigation / Configure / Disable
BO / Modules and Services / Modules List / Block Search / Configure / Disable
***
Any help to complete this elasticsearch cli raw installation will be aprreciate.
Edited by pessoal20043 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now