# |
Jul 10th 2018, 09:44 |
josbeir |
nice, figures as connection extends the Elastica Client class :P |
# |
Jul 10th 2018, 09:44 |
james.phillips |
thanks @lorenzo |
# |
Jul 10th 2018, 09:44 |
lorenzo |
@james.phillips add a `'headers' => ['Authorization' => '....']` to your config |
# |
Jul 10th 2018, 09:44 |
josbeir |
but not sure, it looks like a non-standard ES thingy |
# |
Jul 10th 2018, 09:43 |
josbeir |
then documents is the index probably @james.phillips |
# |
Jul 10th 2018, 09:43 |
neon1024 |
:thinking_face: |
# |
Jul 10th 2018, 09:43 |
neon1024 |
Accessing it directly, does not |
# |
Jul 10th 2018, 09:43 |
neon1024 |
The first one, by traversing the previous table, it picks up the conditions |
# |
Jul 10th 2018, 09:43 |
neon1024 |
`$this->UserPermissions->Companies->find()` vs `$this->Companies->find()` |
# |
Jul 10th 2018, 09:42 |
neon1024 |
Why the conditions are being passed over |
# |
Jul 10th 2018, 09:42 |
neon1024 |
So i found my “other:” issue |
# |
Jul 10th 2018, 09:42 |
james.phillips |
sdsadfas = engine name |
# |
Jul 10th 2018, 09:42 |
josbeir |
or documents |
# |
Jul 10th 2018, 09:42 |
josbeir |
no idea but i would think 'sdsadfas' is the index name? |
# |
Jul 10th 2018, 09:41 |
james.phillips |
hopefully run ES on their cloud |
# |
Jul 10th 2018, 09:40 |
james.phillips |
where does it say the index name? |
# |
Jul 10th 2018, 09:40 |
slackebot4 |
Original Grumpy Cat", "body": "this is a test" }, { "id": "JNDFojsd02", "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ", "title": "Another Grumpy Cat", "body": "this is also a test" } ]' |
# |
Jul 10th 2018, 09:40 |
james.phillips |
From ES example curl -X POST 'https://host-7djrft.api.swiftype.com/api/as/v1/engines/riptestengine/documents' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer api-gkd872jpsrakqvprfb9swok6' \ -d '[ { "id": "INscMGmhmX4", "url": "https://www.youtube.com/watch?v=INscMGmhmX4", "title": "The |
# |
Jul 10th 2018, 09:40 |
josbeir |
are you going to run the ES server on different machines? |
# |
Jul 10th 2018, 09:39 |
josbeir |
but i'm not sure, @lorenzo maybe you can shed a light on that? |
# |
Jul 10th 2018, 09:39 |
josbeir |
well, as i stated, x-pack i'm not sure x-patch auth is currently working |
# |
Jul 10th 2018, 09:38 |
josbeir |
the fun begins once you got your stuff indexed, you will probably quickly make progress |
# |
Jul 10th 2018, 09:38 |
james.phillips |
@josbeir You mentioned connection class for the ES cloud auth. ? wheres that hiding? |
# |
Jul 10th 2018, 09:38 |
josbeir |
ES seems like a good match then :slightly_smiling_face: |
# |
Jul 10th 2018, 09:36 |
james.phillips |
searchable pdf docs etc |
# |
Jul 10th 2018, 09:36 |
james.phillips |
fast and which includes fuzzy, stemming etc.. have to think about budgets and deadlines to get it all done..etc... I would like time to knock up prototypes etc...but no time |
# |
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 |
;) |