[opencms-dev] restricting search with org.opencms.search.CmsSearch.setSearchRoot - should this method work?

Olli Aro olli_aro at yahoo.co.uk
Wed May 2 10:23:12 CEST 2007


Hi all,

 

I am trying to build a search page which restricts the search to one folder
and noticed that there is method  org.opencms.search.CmsSearch.setSearchRoot
in order to achieve this. 

 

However, after setting the method nothing seems to change and I still get
results also from the site root. Can anyone confirm if this method should
work?

 

Thanks,

 

Olli

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070502/c82b3eb4/attachment.htm>


More information about the opencms-dev mailing list