jasehead Posted November 3 Share Posted November 3 Are the recent versions of CubeCart usable if we don't have a web host that supports Elasticsearch? Will future versions of CubeCart work across the board, or will all future updates be dependent on Elasticsearch? Does that mean that CubeCart merchants without access to Elasticsearch are stuck at 6.4.10? Will a non-elastic branch of CubeCart continue to be developed and updated, or at least security patched occasionally? To quote Al from 2017, considering adding Elasticsearch to CubeCart: Quote It will never happen because the vast majority of our merchants have generic shared web hosting which will never be compatible with ElasticSearch. We could integrate it but only for merchants who have there own dedicated server or VPS and are happy configuring ElasticSearch. Sadly this just doesn't fit our demographic and the development time required to implement this isn't worth while. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted November 3 Share Posted November 3 Quote Does that mean that CubeCart merchants without access to Elasticsearch are stuck at 6.4.10? Not at all. This of it as just an extra (awesome) feature. Please upgrade to the latest version still there are a bunch of other bug fixes and smaller feature updates. Quote Link to comment Share on other sites More sharing options...
sack123 Posted November 11 Share Posted November 11 Here in Setting > Advanceed > Elasticsearch, it is not allowed to add index name. If I saved by checking box, it gives highlighter. "A unique index name is required" I tried 6.5.2 and 6.5.3 as well. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted November 11 Share Posted November 11 Do you have an ES server? Quote Link to comment Share on other sites More sharing options...
sack123 Posted Friday at 06:47 PM Share Posted Friday at 06:47 PM Yes, ES Application is installed. If I checked box on enable and save then it uncheck automatically. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted Friday at 06:48 PM Share Posted Friday at 06:48 PM Try setting the values in the includes/global.inc.php file (in most cases the last two can be ignored): $glob['es_h'] = ''; // Elasticsearch host e.g. https://localhost:9200 $glob['es_u'] = ''; // Elasticserch username $glob['es_p'] = ''; // Elasticsearch password $glob['es_i'] = ''; // Elasticsearch index name $glob['es_v'] = ''; // Elasticsearch vertificate validation enum('1','0') $glob['es_c'] = ''; // Elasticsearch certificate path Quote Link to comment Share on other sites More sharing options...
sack123 Posted Friday at 08:40 PM Share Posted Friday at 08:40 PM Is the value same as database host name, username , password and specially index name ? Quote Link to comment Share on other sites More sharing options...
bsmither Posted Friday at 08:52 PM Share Posted Friday at 08:52 PM I would think not. What you refer to is the access credentials to the MySQL database server. The mentioned $glob array elements for ElasticSearch would/should be different. If your site is hosted, and your host gives you a site management tool (such as CPanel), and if ElasticSearch is installed by your host, the access credentials to the MySQL database and ElasticSearch engine should have been emailed to you in your new subscriber "Welcome" notice, or, at least, these connection details would be shown somewhere in the management tool. Quote Link to comment Share on other sites More sharing options...
sack123 Posted Friday at 09:39 PM Share Posted Friday at 09:39 PM I am using cyberpanel. In that manage, elastisearch is application, can be install and remove. When I set $glob['es_h'] = 'localhost:9200'; it able to select enable check box. username, password and index name I sed from the global $glob['dbdatabase'] similarly... In maintainance -> elasticsearch tab, it shouws the count and size, But can not see result on search box. Is there any way/command to know this ES engine credential from the root access ? Quote Link to comment Share on other sites More sharing options...
bsmither Posted Friday at 09:49 PM Share Posted Friday at 09:49 PM Sorry, I would not know. We will need to wait for Al or HavenSwift to advise. Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted Saturday at 08:42 AM Share Posted Saturday at 08:42 AM Add these fields to the includes/global.inc.php file with correct values. Please note that your skin may need changes if you are not using the default Foundation theme. $glob['es_h'] = ''; // Elasticsearch host e.g. https://localhost:9200 $glob['es_u'] = ''; // Elasticserch username $glob['es_p'] = ''; // Elasticsearch password $glob['es_i'] = ''; // Elasticsearch index name $glob['es_v'] = ''; // Elasticsearch vertificate validation enum('1','0') $glob['es_c'] = ''; // Elasticsearch certificate path The last two fields can probably remain empty. Quote Link to comment Share on other sites More sharing options...
sack123 Posted Saturday at 03:16 PM Share Posted Saturday at 03:16 PM Great! Thank you very much. It is working, I used the database credential and host localhost:9200. In the search box, to get the drop down list product, need to use mouse cursor. Can we add keyboard up,down to reach to the downward list instead of mouse cursor. Even after click outside of the search box, ES search dropdown list wont disappear. Need to used ESC key. It would be good idea to add one click functionality to clear search dropdown list like ESC key. 1 Quote Link to comment Share on other sites More sharing options...
bsmither Posted Sunday at 03:04 AM Share Posted Sunday at 03:04 AM (edited) That's my question: where does the index name come from? Is it auto-generated the first time ElasticSearch builds the index? Does the hosting provider assign it? sack123, where did you get the value for 'es_i'? (Note: The forum will not let me use the '@' notifier -- it refuses to allow a post that was edited to use it get re-saved. I hope you see this.) Edited Sunday at 03:13 AM by bsmither Quote Link to comment Share on other sites More sharing options...
Al Brookbanks Posted Sunday at 09:12 AM Share Posted Sunday at 09:12 AM I use Kibana to manage this. Create a user and pass. Assign a role to this user for all privileges on a specific index name. I've not done it for a while so I might create the role first then the account and password. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.