[SOLVED] How to start index of importing items? (Elasticsearch)
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Re: How to start index of importing items? (Elasticsearch)
Everything seems to be correct on your side. Can you please run "composer up" and try again? Just want to be sure that the latest aimeos-core page relaeased today (2024.10.13) doesn't already fix the problem.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

- ЕвгенияСемихова(ИПСемиховаЕ.А.)
- Posts: 54
- Joined: 11 Jan 2025, 09:45
Re: How to start index of importing items? (Elasticsearch)
I have write command:Can you please run "composer up" and try again?
Code: Select all
php cpmposer up

1) After this I send 4 clear command (like at instruction: https://aimeos.org/docs/latest/laravel/setup/#process ):
Code: Select all
php ./artisan aimeos:setup
php ./artisan route:clear
php ./artisan view:clear
php ./artisan aimeos:clear
nothing, only in admin side, not at front

UPD: send command for index #5 (from 1 to 4 is old ideal item from default store):
Code: Select all
Code: Select all
"index.siteid" : [
"1."
],
"index.attributeid" : [ ],
"index.supplierid" : [ ],
"index.supplierloc" : [ ],
"index.catalogid" : [ ],
"index.price:value(RUB)" : 50.0,
"index.text:url(en)" : "transistor-1",
"index.text:name(en)" : "Transistor 1",
"index.text:content(en)" : [
"TMP0000001",
"Transistor 1"
],
"index.text:url(ru)" : "transistor-1",
"index.text:name(ru)" : "Transistor 1",
"index.text:content(ru)" : [
"TMP0000001",
"Transistor 1"
],
"index.text:url(zh)" : "transistor-1",
"index.text:name(zh)" : "Transistor 1",
"index.text:content(zh)" : [
"TMP0000001",
"Transistor 1"
],
"index.text:url()" : "transistor-1",
"index.text:name()" : "Transistor 1",
"index.text:content()" : [
"short test",
"Описание находится в очереди на редактирование",
"Transistor 1"
]
}
}
]
}
}
Code: Select all
"index.siteid" : [
"1."
],
"index.attributeid" : [ ],
"index.supplierid" : [ ],
"index.supplierloc" : [ ],
"index.catalog" : [
{
"position" : 0,
"listtype" : "default",
"id" : "15"
}
],
"index.catalogid" : [
"15"
],
"index.price:value(RUB)" : 50.0,
"index.text:url(en)" : "transistor-1",
"index.text:name(en)" : "Transistor 1",
"index.text:content(en)" : [
"TMP0000001",
"Электронные компоненты",
"Transistor 1"
life is full of many new and interesting things
Re: How to start index of importing items? (Elasticsearch)
Thanks to your help, we've found the problem. The CSV importer wasn't adding the categories as required and we've fixed that now. Can you please update to aimeos/ai-controller-jobs:2024.10.x and check if it works for you too?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

- ЕвгенияСемихова(ИПСемиховаЕ.А.)
- Posts: 54
- Joined: 11 Jan 2025, 09:45
Re: How to start index of importing items? (Elasticsearch)
I just copy two catalogs from your github (ai-controller-jobs) to my server ("src/Controller" and "tests"), right?Can you please update to aimeos/ai-controller-jobs:2024.10.x and check if it works for you too?
After copy I've clear cach and import csv file - dear, it works!!!

Thanks for your help! We will go to the next level!
life is full of many new and interesting things
Re: How to start index of importing items? (Elasticsearch)
Always use composer and run "composer req aimeos/ai-controller-jobs:2024.10.x-dev". Manual copying may cause you other problems sooner or later
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

- ЕвгенияСемихова(ИПСемиховаЕ.А.)
- Posts: 54
- Joined: 11 Jan 2025, 09:45
Re: [SOLVED] How to start index of importing items? (Elasticsearch)
ok, send this comand to server:


life is full of many new and interesting things