cancel
Showing results for 
Search instead for 
Did you mean: 

Webscript for search in alfresco wcm

abhashree
Champ in-the-making
Champ in-the-making
Hi All,

I am writing a script for searching the contents in the alfresco wcm using luecne query.
I am using both get nad post method for webscript.
In my get webscript I am taking the search text as input and in my post webscript I am searching the input text.

I am getting the result of the contents which has the search text (in the get webscript) within them as I am searching  TEXT:{search text} in my query.

BUt I want to search the folders,files etc matching to search text value.

How can I achieve this.

Please guide me.
1 REPLY 1

mitpatoliya
Star Collaborator
Star Collaborator
Your problem is not clear actually

1) Are you using both the webscripts or one at a time.
2) You are saying you are getting the content with the search text but you want files and folders
Actually files and folders are nothing but type of contents only. So that is one more confusion.

Please clarify the requirement and flow of your script.