<div>Hi,</div>
<div> </div>
<div>I am running OpenCMS 6.0 and trying to experiment with how to limit search to only a specified set of documents in the VFS. I understand that I can use this code in my JSP to perform search feature:</div>
<div> </div>
<div><jsp:useBean id="search" scope="request" class="org.opencms.search.CmsSearch"><br> <jsp:setProperty name = "search" property="matchesPerPage" param="matchesperpage"/>
<br> <jsp:setProperty name = "search" property="displayPages" param="displaypages"/><br> <jsp:setProperty name = "search" property="*"/><br> <% <br>
search.init(cmsObj);<br> %><br></jsp:useBean></div>
<div> </div>
<div>What I would like to do now is to somehow through a parameter or restriction set a list of document files (e.g. (file1.doc,file2.ppt,file3.pdf) etc) from which to search (not the entire index). Can I do this with OpenCMS?
</div>
<div> </div>
<div>Thanks very much for your help.</div>
<div> </div>
<div>Rgds,</div>
<div>David</div>