I'm trying to run a search in a sub folder where I've set up a catalog file. The search works fine only it's searching too deep, ie its going back up to the root.

The physical path of the folder I'm searching is /www/dani/vetservice/test/ and I've set the following like so

Query.idq
CiDeferNonIndexedTrimming=true

[Query]
CiCatalog=d:\www\dani\vetservice\test\
CiColumns=filename,size,rank,characterization,vpath,DocTitle,write
CiFlags=DEEP
CiRestriction=%if FreeText eq on% $contents "%CiRestriction%" %else% %CiRestriction% %endif%
CiMaxRecordsInResultSet=300
CiMaxRecordsPerPage=%CiMaxRecordsPerPage%
CiScope=\www\dani\vetservice\test\
CiTemplate=/%TemplateName%.htx
CiSort=%CiSort%
CiForceUseCi=true


index.htm (search page)
<INPUT TYPE="HIDDEN" NAME="CiScope" VALUE="/">
<INPUT TYPE="HIDDEN" NAME="CiMaxRecordsPerPage" VALUE="10">
<INPUT TYPE="HIDDEN" NAME="TemplateName" VALUE="query">
<INPUT TYPE="HIDDEN" NAME="CiSort" VALUE="rank[d]">
<INPUT TYPE="HIDDEN" NAME="HTMLQueryForm" VALUE="index.htm">


Is there anything obviously wrong there I need to change? Thanks.