Alfresco: Search all nodes without parents The 2019 Stack Overflow Developer Survey Results Are InHow can I find alfresco empty foldres using Lucene QueryAlfresco: retrieve number of contents created per userIs it possible to make Lucene queries in alfresco that find nodes based on their parent/children propertiesIs post query permission checks possible with solr?How to get a companyHome for nodeService.getChildAssocs in Alfresco?Run Alfresco Java code as AdministratorAlfresco optimal folder structureHow to fetch folder contents along with other custom types?Associate multiple properties in advanced search in Alfrescofind nodes with a specific child associationHow to search documents from parent node and his children folders in Alfresco using fts
Geography at the pixel level
Can a flute soloist sit?
Worn-tile Scrabble
How to notate time signature switching consistently every measure
Did Scotland spend $250,000 for the slogan "Welcome to Scotland"?
What do I do when my TA workload is more than expected?
Why doesn't shell automatically fix "useless use of cat"?
Straighten subgroup lattice
Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?
If I can cast sorceries at instant speed, can I use sorcery-speed activated abilities at instant speed?
What do these terms in Caesar's Gallic wars mean?
Is it safe to harvest rainwater that fell on solar panels?
Is Cinnamon a desktop environment or a window manager? (Or both?)
Relationship between Gromov-Witten and Taubes' Gromov invariant
How do PCB vias affect signal quality?
Loose spokes after only a few rides
What is the light source in the black hole images?
How do you keep chess fun when your opponent constantly beats you?
Is it correct to say the Neural Networks are an alternative way of performing Maximum Likelihood Estimation? if not, why?
How much of the clove should I use when using big garlic heads?
How did passengers keep warm on sail ships?
ODD NUMBER in Cognitive Linguistics of WILLIAM CROFT and D. ALAN CRUSE
Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?
The phrase "to the numbers born"?
Alfresco: Search all nodes without parents
The 2019 Stack Overflow Developer Survey Results Are InHow can I find alfresco empty foldres using Lucene QueryAlfresco: retrieve number of contents created per userIs it possible to make Lucene queries in alfresco that find nodes based on their parent/children propertiesIs post query permission checks possible with solr?How to get a companyHome for nodeService.getChildAssocs in Alfresco?Run Alfresco Java code as AdministratorAlfresco optimal folder structureHow to fetch folder contents along with other custom types?Associate multiple properties in advanced search in Alfrescofind nodes with a specific child associationHow to search documents from parent node and his children folders in Alfresco using fts
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I'd like to know how to get all nodes of a given type ts:folderSet which has no parent association of type ts:FolderSubSet informed.
Currently:

So, I mean, I need all nodes of type ts:folderSet where tsfss:folderSubSet-folder is null or not informed.
Currently, I'm using admin tool in order to build this query, but I'll need to use it into a java code.

So I mean, I can use FTS or lucene...
Any ideas?
alfresco
add a comment |
I'd like to know how to get all nodes of a given type ts:folderSet which has no parent association of type ts:FolderSubSet informed.
Currently:

So, I mean, I need all nodes of type ts:folderSet where tsfss:folderSubSet-folder is null or not informed.
Currently, I'm using admin tool in order to build this query, but I'll need to use it into a java code.

So I mean, I can use FTS or lucene...
Any ideas?
alfresco
1
Possible duplicate of How can I find alfresco empty foldres using Lucene Query
– Lista
Mar 8 at 12:41
add a comment |
I'd like to know how to get all nodes of a given type ts:folderSet which has no parent association of type ts:FolderSubSet informed.
Currently:

So, I mean, I need all nodes of type ts:folderSet where tsfss:folderSubSet-folder is null or not informed.
Currently, I'm using admin tool in order to build this query, but I'll need to use it into a java code.

So I mean, I can use FTS or lucene...
Any ideas?
alfresco
I'd like to know how to get all nodes of a given type ts:folderSet which has no parent association of type ts:FolderSubSet informed.
Currently:

So, I mean, I need all nodes of type ts:folderSet where tsfss:folderSubSet-folder is null or not informed.
Currently, I'm using admin tool in order to build this query, but I'll need to use it into a java code.

So I mean, I can use FTS or lucene...
Any ideas?
alfresco
alfresco
asked Mar 8 at 10:54
user10063942user10063942
315
315
1
Possible duplicate of How can I find alfresco empty foldres using Lucene Query
– Lista
Mar 8 at 12:41
add a comment |
1
Possible duplicate of How can I find alfresco empty foldres using Lucene Query
– Lista
Mar 8 at 12:41
1
1
Possible duplicate of How can I find alfresco empty foldres using Lucene Query
– Lista
Mar 8 at 12:41
Possible duplicate of How can I find alfresco empty foldres using Lucene Query
– Lista
Mar 8 at 12:41
add a comment |
2 Answers
2
active
oldest
votes
If your parent type is different you can do:
+TYPE:"ts:folderSet"
add a comment |
You can search for a type of nodes using the following Lucene query
TYPE:"cm:folder"
Yes, but what about this node has no parent?
– user10063942
Mar 8 at 12:13
Any node in alfresco will be of a specific type. It may be a folder, a document or it can be a user. You can search any node by its type.
– Kintu Barot
Mar 11 at 5:35
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55061696%2falfresco-search-all-nodes-without-parents%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
If your parent type is different you can do:
+TYPE:"ts:folderSet"
add a comment |
If your parent type is different you can do:
+TYPE:"ts:folderSet"
add a comment |
If your parent type is different you can do:
+TYPE:"ts:folderSet"
If your parent type is different you can do:
+TYPE:"ts:folderSet"
answered Mar 29 at 17:24
Rbkpro DevRbkpro Dev
1
1
add a comment |
add a comment |
You can search for a type of nodes using the following Lucene query
TYPE:"cm:folder"
Yes, but what about this node has no parent?
– user10063942
Mar 8 at 12:13
Any node in alfresco will be of a specific type. It may be a folder, a document or it can be a user. You can search any node by its type.
– Kintu Barot
Mar 11 at 5:35
add a comment |
You can search for a type of nodes using the following Lucene query
TYPE:"cm:folder"
Yes, but what about this node has no parent?
– user10063942
Mar 8 at 12:13
Any node in alfresco will be of a specific type. It may be a folder, a document or it can be a user. You can search any node by its type.
– Kintu Barot
Mar 11 at 5:35
add a comment |
You can search for a type of nodes using the following Lucene query
TYPE:"cm:folder"
You can search for a type of nodes using the following Lucene query
TYPE:"cm:folder"
edited Mar 8 at 12:12
answered Mar 8 at 12:07
Kintu BarotKintu Barot
300210
300210
Yes, but what about this node has no parent?
– user10063942
Mar 8 at 12:13
Any node in alfresco will be of a specific type. It may be a folder, a document or it can be a user. You can search any node by its type.
– Kintu Barot
Mar 11 at 5:35
add a comment |
Yes, but what about this node has no parent?
– user10063942
Mar 8 at 12:13
Any node in alfresco will be of a specific type. It may be a folder, a document or it can be a user. You can search any node by its type.
– Kintu Barot
Mar 11 at 5:35
Yes, but what about this node has no parent?
– user10063942
Mar 8 at 12:13
Yes, but what about this node has no parent?
– user10063942
Mar 8 at 12:13
Any node in alfresco will be of a specific type. It may be a folder, a document or it can be a user. You can search any node by its type.
– Kintu Barot
Mar 11 at 5:35
Any node in alfresco will be of a specific type. It may be a folder, a document or it can be a user. You can search any node by its type.
– Kintu Barot
Mar 11 at 5:35
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55061696%2falfresco-search-all-nodes-without-parents%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Possible duplicate of How can I find alfresco empty foldres using Lucene Query
– Lista
Mar 8 at 12:41