cancel
Showing results for 
Search instead for 
Did you mean: 

Recommendations on querying large spaces

colindstephenso
Champ in-the-making
Champ in-the-making
Hey All,

I currently have a space which have in excess of 4000 folders in it.  Aside from bad architecting of the content storage, what is the recommended method of querying for all children of this space?  ( I am writing a command line tool to query against the repository).

The queryChildren method returns all children up to the point where there are too many sub folders which cause a webservices timeout.  Using the query api and lucene does not guarantee to find all sub folders as they may not have been indexed and XPath is not currently supported with the query api.  Though from all accounts XPath may have performance issues as well.

Pointers or suggestions are appreciated

Thanks,
Colin.
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
Use the NodeService or possibly the FileFolderService.

colindstephenso
Champ in-the-making
Champ in-the-making
Are these services exposed through the WebService interface now or should i use the JCR interface to access these?

colindstephenso
Champ in-the-making
Champ in-the-making
Hi,

Is it planed to expose these services via WebServices?

Thanks,
Colin.

mrogers
Star Contributor
Star Contributor
Try the CMIS web scripts.