cancel
Showing results for 
Search instead for 
Did you mean: 

Search query oh only content.

xerox
Champ in-the-making
Champ in-the-making
How can I search on only content? (so not on spaces)..

I used this:
sp.setQuery("@\\{http\\://www.alfresco.org/model/content/1.0\\}name:" + query + "*");

But it still show  also the spaces…
2 REPLIES 2

andy
Champ on-the-rise
Champ on-the-rise
Hi

You should read the search docs on the wiki and add a TYPE:"cm:content"
clause to the query.

http://wiki.alfresco.com/wiki/Search

Regards

Andy

xerox
Champ in-the-making
Champ in-the-making
thx..