Search found 11 matches
- 06 Jul 2017, 11:26
- Forum: Laravel package
- Topic: elasticsearch?
- Replies: 14
- Views: 15740
Re: elasticsearch?
You can create a decorator like this one to push the product related data into ElasticSeach: https://github.com/aimeos/ai-admin-jqadm/blob/master/admin/jqadm/src/Admin/JQAdm/Common/Decorator/Cache.php pushing data is fine. make aimeos read from elastic instead of db is not :lol: Can you please expl...
- 05 Jul 2017, 14:25
- Forum: Laravel package
- Topic: elasticsearch?
- Replies: 14
- Views: 15740
Re: elasticsearch?
I hoped to didn't have to do it from scratch :/ You use dbal for schema creation/update. But what you use for read the data? Can i switch to ORM ? maybe extending laravel version. I think that is more futureproof using eloquent standard. You know, laravel is pretty much a monopoly on php framework. ...
- 04 Jul 2017, 11:47
- Forum: Laravel package
- Topic: elasticsearch?
- Replies: 14
- Views: 15740
Re: elasticsearch?
I read a bitter more after my last reply. You use docrine dbal that i read is a PDO thin layer. Your reason are right. I found that you have a wrapper for redis (ai-cache ext), nice thing. On aimos-laravel/src/default.php i have this array 'index' => array( 'manager' => array( 'name' => 'MySQL', 'at...
- 04 Jul 2017, 10:18
- Forum: Laravel package
- Topic: categories ?
- Replies: 8
- Views: 8268
Re: categories ?
You don't have to care about the session handling as all JsonAdm calls are stateless. Using it from an external application requires to be logged in. I was talking about jwt, hard to have authentificated request without it in a stateless call :) But in fact you use laravel middleware, so i can quic...
- 03 Jul 2017, 14:10
- Forum: Laravel package
- Topic: categories ?
- Replies: 8
- Views: 8268
Re: categories ?
i answer myself:
there is a routes.php on /vendor/aimeos/aimeos-laravel
add.
Oh, you follow jsonapi v1 standard
That's cool!
there is a routes.php on /vendor/aimeos/aimeos-laravel

add.
Oh, you follow jsonapi v1 standard
That's cool!
- 03 Jul 2017, 13:58
- Forum: Laravel package
- Topic: elasticsearch?
- Replies: 14
- Views: 15740
Re: elasticsearch?
MySQL full text search is prefix based. Thus, if you search for "word", you will find: - word% - Word% - words% But not "sword". There's a like based search implemented too but that's very slow because it can't use any index. yeah, this is the mysql limit. This is why i wanna tr...
- 03 Jul 2017, 13:25
- Forum: Laravel package
- Topic: categories ?
- Replies: 8
- Views: 8268
Re: categories ?
Categories are stored in a nested set, which is extremely fast when retrieving tree structures. We've added a "level" and a "parentid" column as auxiliary data to have more control when filtering for categories but they are not essential for the tree. Yes, we've updated the admi...
- 03 Jul 2017, 08:41
- Forum: Laravel package
- Topic: categories ?
- Replies: 8
- Views: 8268
Re: categories ?
Can you explain a bit more in detail what you mean? (id , parent_id, order) just ad a depth column and you have a closure table :) This mean that parent_id can be also grandparent (with depth >0 ) and is parent on depth ==0. It's faster becouse of less join on calling a product. I can make a PR whe...
- 03 Jul 2017, 08:06
- Forum: Laravel package
- Topic: elasticsearch?
- Replies: 14
- Views: 15740
Re: elasticsearch?
realtime fulltext search too?
usually mysql ask you to use something like %word% , but that mean that:
find "word"
1) %woRrd% is ok
2)%Sword% is not
did your index engine make something different?
usually mysql ask you to use something like %word% , but that mean that:
find "word"
1) %woRrd% is ok
2)%Sword% is not
did your index engine make something different?
- 30 Jun 2017, 16:01
- Forum: Laravel package
- Topic: categories ?
- Replies: 8
- Views: 8268
categories ?
How categories costrain are thinked? Did you use closureTable on it ?