[opencms-dev] What's wrong with this search script?

Andras Balogh abalogh at gmail.com
Fri Jan 20 16:10:55 CET 2006


Hello Joe,

Have You tried manually rebuilding Your index from Admin area having
 /sites/JHL/ as selected site?

Just a thought,
Andras.

Joe Desbonnet wrote:

>Uwe,
>
>Thanks for the code. Unfortunately it behaves exactly like my own
>script -- it only works while logged into the CMS and Site set to "/".
>
>I'm not the only person who has encountered this problem: see this post
>http://mail.opencms.org/pipermail/opencms-dev/2005q3/018191.html
>Unfortunately there were no followups to that post.
>
>I'm assuming that search JSP scripts are like any other JSP and can be
>located anywhere within a website. Or is there something special about
>search scripts? Eg do have have to be located in /system/modules/....
>?  Or maybe this is some sort of permissions issue?
>
>I think I'll continue to develop my own frontend to the OpenCms Lucene
>index -- as I'm fresh out of ideas.
>
>BTW: here excerpts of my search config in case I've done anything
>stupid there. As mentioned above, the index *is* being generated.
>(Software configuration is OpenCms version 6.0.2, Tomcat 5.5.9, jdk
>1.5.0 on Linux).
>
>index config:
><index>
><name>JHL</name>
><rebuild>auto</rebuild>
><project>Online</project>
><locale>en</locale>
><sources><source>jhlSource</source></sources>
></index>
>
>here is the indexsource:
><indexsource>
><name>jhlSource</name>
><indexer class="org.opencms.search.CmsVfsIndexer" />
><resources>
><resource>/sites/JHL/</resource>
></resources>
><documenttypes-indexed>
><name>xmlpage</name>
> ... [stuff deleted for brevity] ...
></documenttypes-indexed>
></indexsource>
>
>Thanks,
>Joe.
>
>  
>




More information about the opencms-dev mailing list