cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Category Queries

mcm
Champ in-the-making
Champ in-the-making
I have a problem with these queries:

My category hierarchy consisting of Instrument/Winds/Brass/(Tuba,Horn,Trumpet…), and I have contets assigned to Tuba,Horn, Trumpet…

This queries in the Node Browser, returned results:

+PATH:"/cm:generalclassifiable/cm:Instrument/cm:Winds//*
+PATH:"/cm:generalclassifiable/cm:Instrument/cm:Brass//*
+PATH:"/cm:generalclassifiable//cm:Instrument//cm:Brass//member"

BUT I NEED THE CONTENT ASSOCIATED TO TUBA, HORN, TRUMPET, AND I HAVE TESTED THIS QUERIES BUT I DO NOT GET RESULTS:

+PATH:"/cm:generalclassifiable/cm:Instrument/cm:Tuba//*
+PATH:"/cm:generalclassifiable//cm:Instrument//cm:Tuba//member"

-PATH:"/cm:generalclassifiable//cm:Instrument//cm:Tuba/member"
-PATH:"/cm:generalclassifiable//cm:Instrument//cm:Tuba//member"



Please, I need your help.

Thank you,
3 REPLIES 3

xerox
Champ in-the-making
Champ in-the-making
+PATH:"/cm:generalclassifiable/cm:Instrument/cm:Winds/cm:Brass//*

mcm
Champ in-the-making
Champ in-the-making
This query (+PATH:"/cm:generalclassifiable/cm:Instrument/cm:Winds/cm:Brass//* ) return a Error:

Search failed due to: org.alfresco.repo.search.SearcherException: Failed to parse query: +PATH:"/cm:generalclassifiable/cm:Instrument/cm:Winds/cm:Brass//*

mcm
Champ in-the-making
Champ in-the-making
Sorry, I was wrong, but I need only the content associated to Tuba, and this query (+PATH:"/cm:generalclassifiable/cm:Instrument/cm:Winds/cm:Brass//*") return more contents.