Hi all
Kindly help me out in the below issue……… i am struggling a lot.
i am using the following script to search with in the specific namespace (That is under company home space there is a space called Test, Test is my target search namespace).
// check that search term has been provided
if (args.q == undefined || args.q.length == 0)
{
status.code = 400;
status.message = "Search term has not been provided.";
status.redirect = true;
}
else
{
// perform search
var nodes = search.luceneSearch("PATH:\"/company_home/Test\"TEXT:" + args.q);
model.resultset = nodes;
}
But when i searching the content i got the result from the other namespaces also……….
Kidly help me out in this issue…………
Thank you friends……….
Regards,
Elavarasan N.