# |
Jul 5th 2017, 13:40 |
gutts |
i need to iterate through the other fields to create my condition. that or should i manipulate the request data manually? |
# |
Jul 5th 2017, 13:40 |
gutts |
is there a way to access "other" fields in request data within a validation rule? $context for 'on' in ->add or the 3rd param in notEmpty provide just data for a given field |
# |
Jul 5th 2017, 13:38 |
devito |
v -> middleware? -> c -> model -> c -> -> middleware ? ->v that right? |
# |
Jul 5th 2017, 13:37 |
casmo |
https://book.cakephp.org/3.0/en/controllers/components/pagination.html#control-which-fields-used-for-ordering |
# |
Jul 5th 2017, 13:37 |
devito |
what part of the request life cycle does a middleware get triggered? |
# |
Jul 5th 2017, 13:37 |
casmo |
You might need to whitelist them |
# |
Jul 5th 2017, 13:35 |
jarard01 |
anyone have any idea why my pagination sort links would'nt be working, the numbered pagination links work, but when I clikc the columns the page re-loads but ordering remains as before |
# |
Jul 5th 2017, 13:32 |
Sebollson |
I mean the equivalent of SQL order by col1 DESC ,col2 DESC |
# |
Jul 5th 2017, 13:31 |
Sebollson |
is there a way to ues collections to sort array by 2 values insteed of 1? |
# |
Jul 5th 2017, 13:31 |
Sebollson |
Hey there |
# |
Jul 5th 2017, 13:29 |
inoas |
nutch (+ hbase) + solr seem to do ... however I am not sure about relevance/page rank and I am just looking for experiences :) |
# |
Jul 5th 2017, 13:29 |
admad |
https://azure.microsoft.com/en-us/pricing/details/cognitive-services/search-api/web/ |
# |
Jul 5th 2017, 13:28 |
inoas |
there is also some smaller denmark startup billing you like 400 bucks / month / platform for site search |
# |
Jul 5th 2017, 13:28 |
inoas |
now migration has to happen because of "cloud dependency" |
# |
Jul 5th 2017, 13:28 |
inoas |
yes it does but why repeat the same mistake again |
# |
Jul 5th 2017, 13:27 |
admad |
i think bing has a similar service |
# |
Jul 5th 2017, 13:27 |
inoas |
the clients I have have been paying good USD to google to use their on page site search |
# |
Jul 5th 2017, 13:27 |
inoas |
however it is clearly the intention of google to shut those operations down |
# |
Jul 5th 2017, 13:27 |
admad |
of course CSE is free and has usage limits, so only suitable for low traffic sites |
# |
Jul 5th 2017, 13:26 |
admad |
CSE is accessible through API, you can use that to fetch and display results yourself ;) |
# |
Jul 5th 2017, 13:25 |
inoas |
but you are right with ads it stays (and is worthless) |
# |
Jul 5th 2017, 13:24 |
inoas |
admad Google Site Search for Businesses is shutting down |
# |
Jul 5th 2017, 13:24 |
admad |
they are 2 different things |
# |
Jul 5th 2017, 13:24 |
admad |
inoas: google site search is shutting down not CSE |
# |
Jul 5th 2017, 13:24 |
cleptric |
@josexato `$entity->getHidden()` or $entity->hidden()` if you still use < 3.4 |
# |
Jul 5th 2017, 13:23 |
josexato |
thanks |
# |
Jul 5th 2017, 13:23 |
josexato |
sound a good workarround |
# |
Jul 5th 2017, 13:23 |
inoas |
you add getHidden() { return $this->_hidden } if there is no built-in feature |
# |
Jul 5th 2017, 13:21 |
josexato |
Hello quick question, how can I get the list of hidden properties of an object? |
# |
Jul 5th 2017, 13:21 |
inoas |
It looks like Solr can be fed schematic data but via nutch it can also crawl regular pages - I am not sure if the ranking algorithm includes a page-rank-alike feature |
# |
Jul 5th 2017, 13:20 |
inoas |
Lorenzo didn't you implement something with Elastic Search? Is it full web app/site search? Decoupled from CakePHP? Any hints/ideas? |
# |
Jul 5th 2017, 13:19 |
inoas |
For unstructured indexing (crawling) I found Nutch |
# |
Jul 5th 2017, 13:19 |
inoas |
For querying I found Amazon Cloud Search, Solr/Lucene and ElasticSearch |
# |
Jul 5th 2017, 13:18 |
inoas |
Slightly OT: google site/custom search shuts down its business support - if you have abitary web pages/web apps how do you create specific search for those? |
# |
Jul 5th 2017, 13:17 |
inoas |
lol |
# |
Jul 5th 2017, 13:16 |
admad |
*can't say |
# |
Jul 5th 2017, 13:16 |
admad |
can't about the rest but `bin/cake app unoptimize` will surely be added to cake 4 roadmap. |
# |
Jul 5th 2017, 13:13 |
inoas |
if such a thing happens: https://github.com/cakephp/cakephp/issues/10852#issuecomment-313089129 I just hope plugins will stay plugins (like DispatchFilters next to middleware) and we just get a new type of pluggable software: module, service, engine - whatever |
# |
Jul 5th 2017, 13:12 |
jarard01 |
I've debugged the request data: https://gist.github.com/spacebiscuit/0024650d9e6366f8d66de4b1ebc3338b |
# |
Jul 5th 2017, 13:11 |
jarard01 |
neon1024, hi I've hit brick wall with the file upload |
# |
Jul 5th 2017, 12:33 |
casmo |
Latest MySQL version requires to group all fields that are selected |