Daily Log for #alfresco IRC Channel

Alfresco discussion and collaboration. Stick around a few hours after asking a question.

Official support for Enterprise subscribers: support.alfresco.com.

Joining the Channel:

Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.

More information about the channel is in the wiki.

Getting Help

More help is available in this list of resources.

Daily Log for #alfresco

2018-11-20 15:51:30 GMT <yreg> I think I found a new bug in Alfresco Search Services

2018-11-20 15:51:42 GMT <yreg> Can someone double check and confirm

2018-11-20 15:51:43 GMT <yreg> ?

2018-11-20 15:51:48 GMT <angelborroy> sure

2018-11-20 15:52:01 GMT <yreg> I think solr is ignoring the NOT predicate when between parentheses

2018-11-20 15:52:33 GMT <yreg> Meaning "ns:field:value AND NOT ns:field2:value2" works perfectly

2018-11-20 15:52:44 GMT <yreg> "ns:field:value AND (NOT ns:field2:value2)" --> NOT is ignored, and the query is interpreted as "ns:field:value AND ns:field2:value2"

2018-11-20 15:53:10 GMT <angelborroy> solr6?

2018-11-20 15:53:14 GMT <yreg> yes

2018-11-20 15:53:18 GMT <yreg> ASS 1.2

2018-11-20 15:53:38 GMT <yreg> angelborroy, if you wanna give it a spin, can you browse to your company home and pick a folder created by system

2018-11-20 15:54:06 GMT <yreg> Then try those queries in node browser and let me know if you find any of them odd

2018-11-20 15:54:06 GMT <angelborroy> ok

2018-11-20 15:54:10 GMT <angelborroy> “Data Dictionary”

2018-11-20 15:54:14 GMT <yreg> ISNODE:T AND =cm:name:"Sites" AND =cm:modifier:"system"

2018-11-20 15:54:25 GMT <yreg> ISNODE:T AND =cm:name:"Sites" AND NOT(=cm:modifier:"system")

2018-11-20 15:54:35 GMT <yreg> ISNODE:T AND =cm:name:"Sites" AND (NOT(=cm:modifier:"system"))

2018-11-20 15:54:45 GMT <yreg> Yeah, I assumed you would pick sites

2018-11-20 15:54:54 GMT <angelborroy> ok

2018-11-20 15:55:08 GMT <yreg> You can change the query for data dictionary as well

2018-11-20 15:55:49 GMT <angelborroy> “Sites” is modified by “angel.borroy”

2018-11-20 15:55:53 GMT <angelborroy> don’t ask me why :D

2018-11-20 15:56:02 GMT <yreg> You must have created a site

2018-11-20 15:56:32 GMT <yreg> Yeah either change the query to use data dictionary as name or angel.borroy as modifier :P

2018-11-20 15:57:38 GMT <angelborroy> ISNODE:T AND =cm:name:"Sites"

2018-11-20 15:57:41 GMT <angelborroy> 1 result

2018-11-20 15:58:03 GMT <angelborroy> ISNODE:T AND =cm:name:"Sites" AND =cm:modifier:"angel.borroy"

2018-11-20 15:58:07 GMT <angelborroy> 0 results

2018-11-20 15:58:26 GMT <angelborroy> ISNODE:T AND =cm:name:"Sites" AND NOT(=cm:modifier:"angel.borroy")

2018-11-20 15:58:28 GMT <angelborroy> 1 result

2018-11-20 15:58:49 GMT <angelborroy> ISNODE:T AND =cm:name:"Sites" AND (NOT(=cm:modifier:"angel.borroy"))

2018-11-20 15:58:51 GMT <angelborroy> 0 results

2018-11-20 15:59:52 GMT <angelborroy> It looks like I have the same results

2018-11-20 15:59:54 GMT <angelborroy> Very weird

2018-11-20 16:02:28 GMT <angelborroy> yep, testing with other values and folders

2018-11-20 16:02:31 GMT <angelborroy> but same results

2018-11-20 16:12:45 GMT <AFaust> This behaviour has been in SOLR / Lucene / FTS for quite a while. It is related to how the underlying Lucene queries behave (not something Alfresco has written themselves)...

2018-11-20 16:13:25 GMT <AFaust> You typically always need to have at least one positive criterion in the nested query within paranthesis for negative criterions to work

2018-11-20 16:14:29 GMT <yreg> Still that doesn't seem right

2018-11-20 16:14:45 GMT <AFaust> I remember some years ago I had to write some queries that looked like this: my:baseProp:baseText AND (ISNODE:T AND NOT ASPECT:"my:exclusionAspect")

2018-11-20 16:15:04 GMT <yreg> That's exactly what I am testing now

2018-11-20 16:15:29 GMT <AFaust> Of course one could simply remove the paranthesis and include the NOT in the main query if it is just that single condition

2018-11-20 16:15:53 GMT <AFaust> In my case it was typically just some lazyness, since the condition in the paranthesis was dynamically constructed...

2018-11-20 16:16:04 GMT <AFaust> ...and could have contained more than one criterion

2018-11-20 16:17:28 GMT <AFaust> I believe I even remember this behaviour (or at least some of its implications) being documented in the wiki at some point in 2011-2013...

2018-11-20 16:18:51 GMT <alfresco-discord> <Thijs> but the wiki was brutally killed

2018-11-20 16:20:28 GMT <AFaust> I don't know about "brutally" - nothing was deleted and everything was migrated to community.alfresco.com. The only "brutal" thing was the mass-marking as "obsolete"

2018-11-20 16:23:03 GMT <AFaust> Anyway, I am not saying that this should not be filed as an issue. If they manage to change that behaviour now it would certainly be cool.... Just wanted to express that this is not a regression or anything that suddenly popped up.

2018-11-20 16:24:15 GMT <yreg> I actually can not afford to lose the parentheses, I am not putting them in the first place, they get added by ADF in my faceted search

2018-11-20 16:24:16 GMT <alfresco-discord> <Thijs> Maybe I'm the only one that doesn't use the jive quite as much as I did the Alfresco wiki. Cannot find my way in the migrated content.

2018-11-20 16:24:43 GMT * AFaust goes back to struggling with AngularJs in APS, and it's lack of support for a global listener-only type of singleton---

2018-11-20 16:24:45 GMT <yreg> But I will try to update the facet query to include ISNODE:T

2018-11-20 16:25:24 GMT <AFaust> Well... if you use ADF auto-magic for that, by all means, flood them with issues...

2018-11-20 16:25:51 GMT <yreg> @AFaust I have seen interesting talks from ITNovum around that in beecon/devcon

2018-11-20 16:26:00 GMT <AFaust> No mercy for anything that is a new feature / product...

2018-11-20 16:26:47 GMT <yreg> Something about rapid stencil development was particularly interesting and had some open sourced tools/repos attached

2018-11-20 16:26:52 GMT <AFaust> Well, I attended at least one of them, and I can't remember them showing anything that would help me today...

2018-11-20 16:27:34 GMT <AFaust> And I believe it was stencil-related... but I am not dealing with stencils today (I rarely am)

2018-11-20 16:31:21 GMT <AFaust> Hmm... I solved my issue, but now it is working in a way that should not be possible according to AngularJs docs...

2018-11-20 16:31:53 GMT <AFaust> Reinforcing one of my core beliefs: Documentation always lies...

2018-11-20 16:50:48 GMT <yreg> AFaust, I thought you knew better, only binary never lies ...

2018-11-20 16:53:49 GMT <AFaust> I know better with regards to those frameworks I am well acquainted with... With regards to sick / demented frameworks that I usually try to stay as far away from as possible, I have to trust the docs somewhat...

2018-11-20 23:48:16 GMT <alfresco-discord> <edw24> Hi, how does one create an admin user on startup of alfresco?? Is there something in the global properties that can automatically do this? My LDAP sync is not working properly.

End of Daily Log

The other logs are at http://esplins.org/hash_alfresco