[opencms-dev] Search in Web Page
Hari
Hari.Subramanian at jvolution.co.uk
Tue Sep 20 12:08:53 CEST 2005
Hi There,
The search function is working within the Admin area of the Workplace
but not in the web pages.
The configuration of the opencms-search.xml is as follows
<index>
<name>Online project
(VFS)</name>
<rebuild>auto</rebuild>
<project>Online</project>
<locale>en</locale>
<sources>
<source>source1</source>
</sources>
</index>
<indexsource>
<name>source1</name>
<indexer
class="org.opencms.search.CmsVfsIndexer" />
<resources>
<resource>/sites/default/</resource>
</resources>
<documenttypes-indexed>
<name>xmlpage</name>
<name>xmlcontent</name>
<name>page</name>
<name>text</name>
<name>pdf</name>
<name>rtf</name>
<name>html</name>
<name>msword</name>
<name>msexcel</name>
<name>mspowerpoint</name>
<name>image</name>
<name>generic</name>
</documenttypes-indexed>
</indexsource>
The search form in "head_links.jsp" of templateone gets the index here
-
<input type="hidden" name="index" value="<%= cms.getSearchIndexName()
%>">
But this does not return a value. If there are more then one Index name
and its relevant source, where do I specify the index to be searched.
Or how does the method get the right index.
Any help on this would be appreciated.
Cheers
Hari
S.Hariharan
JVolution Ltd
Tel : (+44) 20 8714 4488
Mobile: 07915 082070
Email: Hari at jvolution.co.uk <mailto:Hari at jvolution.co.uk>
www.Jvolution.co.uk <http://www.Jvolution.co.ukm>
This email and any attachments or links are confidential and intended
only for the individual to whom it is addressed. If you are not the
intended recipient, any use or dissemination of this communication is
strictly prohibited and you are requested to notify the sender
immediately and then delete this email. JVolution does not accept
liability for any data corruption, unauthorised amendment, viruses and
unforeseen delays to which this email may be subject. This email and any
attachments or links are opened at your own risk. JVolution can take no
responsibility for the consequences of actions carried out as a result
of this e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050920/a03400b4/attachment.htm>
More information about the opencms-dev
mailing list