Search found 208 matches

by kdim95
16 Aug 2023, 14:33
Forum: Laravel package
Topic: ElasticSearch - Remove English indexing, leave only Bulgarian
Replies: 4
Views: 14451

Re: ElasticSearch - Remove English indexing, leave only Bulgarian

I understand what I need to change. /** * Returns the language IDs available for the current site * * @return string[] List of ISO language codes */ protected function getLanguageIds() : array { if( !isset( $this->languageIds ) ) { $list = []; $manager = \Aimeos\MShop::create( $this->context(), 'loc...
by kdim95
16 Aug 2023, 10:03
Forum: Laravel package
Topic: ElasticSearch - Search issues
Replies: 3
Views: 37689

ElasticSearch - Search issues

Laravel framework version: 10.16.1 Aimeos Laravel version: 2023.04.* PHP Version: 8.2.8 Environment: Linux Hello, I am experiencing the following issue: I have added a custom attribute to individual products (seen). The "seen" attribute represents how many times a product's detail page has...
by kdim95
15 Aug 2023, 14:09
Forum: Laravel package
Topic: ElasticSearch - Remove English indexing, leave only Bulgarian
Replies: 4
Views: 14451

ElasticSearch - Remove English indexing, leave only Bulgarian

Laravel framework version: 10.16.1 Aimeos Laravel version: 2023.04.* PHP Version: 8.2.8 Environment: Linux Hello, I'd like to remove the ElasticSearch index for english to improve the speed. These need to be removed from the index: text:content(en) text:name(en) text:url(en) Only the bulgarian index...
by kdim95
15 Aug 2023, 12:59
Forum: Laravel package
Topic: Batch updating products does not update the ElasticSearch index.
Replies: 9
Views: 18780

Re: Batch updating products does not update the ElasticSearch index.

I will keep investigating why it's happening, thank you
by kdim95
14 Aug 2023, 13:23
Forum: Laravel package
Topic: Batch updating products does not update the ElasticSearch index.
Replies: 9
Views: 18780

Re: Batch updating products does not update the ElasticSearch index.

I think that the only change to the batches I've done is here: Aimeos\Admin\JQAdm\Product\Price\Decorator This changes it so that the percent discount is set based on the current price. /** * Batch update of a resource * * @return string|null Output to display */ public function batch() : ?string { ...
by kdim95
14 Aug 2023, 12:24
Forum: Laravel package
Topic: Batch updating products does not update the ElasticSearch index.
Replies: 9
Views: 18780

Re: Batch updating products does not update the ElasticSearch index.

Update: An error is showing SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '<ID>-product/property-default--1.' for key 'unq_msproli_pid_dm_ty_rid_sid': INSERT INTO "mshop_product_list" ( "parentid", "key", "type", "domain", &qu...
by kdim95
14 Aug 2023, 12:16
Forum: Laravel package
Topic: Batch updating products does not update the ElasticSearch index.
Replies: 9
Views: 18780

Re: Batch updating products does not update the ElasticSearch index.

It's working when I made the changes you suggested.
Can I make a pull request that adds this change to 2023.04.*?
by kdim95
14 Aug 2023, 12:00
Forum: Laravel package
Topic: ElasticSearch - latin characters
Replies: 4
Views: 12329

Re: ElasticSearch - latin characters

Thanks, I got it working. config/shop.php: 'mshop' => [ 'index' => [ 'manager' => [ 'text' => [ 'name' => 'ElasticCustom', ], ], ], ], /packages/my-extension/src/MShop/Index/Manager/Text: <?php namespace Aimeos\MShop\Index\Manager\Text; class ElasticCustom extends Elastic { /** * Adds more data from...
by kdim95
14 Aug 2023, 11:44
Forum: Laravel package
Topic: Batch updating products does not update the ElasticSearch index.
Replies: 9
Views: 18780

Re: Batch updating products does not update the ElasticSearch index.

Due to breaking changes in the newer jqadm versions (more elements converted to use vue js), I have to stick to 2023.04.*.
Otherwise it breaks templates I've already changed in the backend.
How can I fix it without updating to 2023.07 ?
by kdim95
10 Aug 2023, 15:53
Forum: Laravel package
Topic: Batch updating products does not update the ElasticSearch index.
Replies: 9
Views: 18780

Batch updating products does not update the ElasticSearch index.

Laravel framework version: 10.16.1 Aimeos Laravel version: 2023.04.* PHP Version: 8.2.8 Environment: Linux How to reproduce: 1) Have ai-elastic installed and working. 2) Go to product listing in the admin and make a batch change, for example increasing the product price with 10% by typing "10&q...