# |
Jul 10th 2018, 09:36 |
neon1024 |
If you don’t need aggregations, histograms and stuff like that ES might be overkill |
# |
Jul 10th 2018, 09:36 |
neon1024 |
:point_up: This |
# |
Jul 10th 2018, 09:35 |
josbeir |
if you just need nosql, mongo or redis might be the better choice |
# |
Jul 10th 2018, 09:35 |
josbeir |
its great tech if you need complex and fast search stuff |
# |
Jul 10th 2018, 09:34 |
james.phillips |
As normal I need to decide to recommend using it on a project or not and only have limited time to check it out |
# |
Jul 10th 2018, 09:34 |
josbeir |
especially future ES users ! |
# |
Jul 10th 2018, 09:33 |
josbeir |
np prob, always glad to help |
# |
Jul 10th 2018, 09:33 |
james.phillips |
thanks for help i will look at the readme and see what i can knock up ta |
# |
Jul 10th 2018, 09:33 |
neon1024 |
Oh, heya @lorenzo :wave: |
# |
Jul 10th 2018, 09:33 |
james.phillips |
glad u fixed it. |
# |
Jul 10th 2018, 09:32 |
neon1024 |
Seems that I had some associations which had bugs and typos |
# |
Jul 10th 2018, 09:32 |
neon1024 |
Fixed! |
# |
Jul 10th 2018, 09:32 |
josbeir |
:P |
# |
Jul 10th 2018, 09:32 |
lorenzo |
soon |
# |
Jul 10th 2018, 09:32 |
josbeir |
;) |
# |
Jul 10th 2018, 09:32 |
josbeir |
@lorenzo should also push a new RC in the repo ! |
# |
Jul 10th 2018, 09:31 |
josbeir |
yeah indeed |
# |
Jul 10th 2018, 09:31 |
james.phillips |
ahh thanks...nothing worse than conflicting docs |
# |
Jul 10th 2018, 09:31 |
josbeir |
so we renamed 'Type' to 'Index' |
# |
Jul 10th 2018, 09:31 |
josbeir |
Elasticsearch is deprecating their 'types' |
# |
Jul 10th 2018, 09:31 |
josbeir |
the docs in cake book need some updating |
# |
Jul 10th 2018, 09:31 |
josbeir |
check the readme on the git repo |
# |
Jul 10th 2018, 09:30 |
james.phillips |
So Im looking at https://book.cakephp.org/3.0/en/elasticsearch.html is where they have class ArticlesType extends Type a interface between ES and Cake model? |
# |
Jul 10th 2018, 09:30 |
josbeir |
so this evening :flag-be: :flag-fr: ,:( ,:( |
# |
Jul 10th 2018, 09:29 |
josbeir |
no problemo sir |
# |
Jul 10th 2018, 09:29 |
james.phillips |
thanks |
# |
Jul 10th 2018, 09:29 |
james.phillips |
I get you |
# |
Jul 10th 2018, 09:29 |
josbeir |
it doesn't matter if that stuff has duplicates |
# |
Jul 10th 2018, 09:28 |
josbeir |
with ES you can just save all that stuff in 1 document |
# |
Jul 10th 2018, 09:28 |
josbeir |
basically, in sql you have a primary record with all associations you need joined, that result you then use in your app |
# |
Jul 10th 2018, 09:28 |
james.phillips |
ok thanks |
# |
Jul 10th 2018, 09:28 |
josbeir |
read up on database denormalization |
# |
Jul 10th 2018, 09:27 |
josbeir |
mean* |
# |
Jul 10th 2018, 09:27 |
josbeir |
i know what you mena |
# |
Jul 10th 2018, 09:27 |
james.phillips |
ahh ive thought in mysql terms for 20 years lol |
# |
Jul 10th 2018, 09:27 |
josbeir |
think in nosql |
# |
Jul 10th 2018, 09:27 |
josbeir |
don't think in database/sql terms |
# |
Jul 10th 2018, 09:27 |
josbeir |
you should denormalize your documents in ES |
# |
Jul 10th 2018, 09:26 |
josbeir |
well.. there is the catch |
# |
Jul 10th 2018, 09:26 |
james.phillips |
So I have an index class for each model I want to search via ES? |
# |
Jul 10th 2018, 09:26 |
josbeir |
make a cron job of it or something |