Fw: [opencms-dev] Problem: Navpos & NavText with Binary Files: Pls help me

Ernesto De Santis ernesto.desantis at colaborativa.net
Mon Feb 2 08:48:01 CET 2004


In your registry.xml are enabled the binary factory?

                <docFactory enabled="false" type="binary"/> 
with this, lucene ignore binary files.

change this to:

                <docFactory enabled="true" type="binary">
                    <class>net.grcomputing.opencms.search.lucene.BodylessDocument</class>
                </docFactory>

Bye
Ernesto.



----- Original Message ----- 
  From: Ritwik Datta 
  To: opencms-dev at opencms.org 
  Sent: Monday, February 02, 2004 2:38 AM
  Subject: [opencms-dev] Problem: Navpos & NavText with Binary Files: Pls help me


  Dear All,

  I am using OpenCMS 5.0.0 and  uploaded .doc,.dot files as binary for Lucene search. But I also want to see the links of all uploaded documents in my index.html. For that, I had set two properties NavPos & NavText. But if I upload files as type binary it is unable to show links on index.html. Now if I change file type of any file (making it plain) , the link appears. I don't have any problem to change file types but for lucene search it is mandatory to have file type as binary. Please help me. How can I view link of a file uploaded as binary from my index.html by setting NavPos & NavText
  Thanks in advance.

  Regrads,
  Ritwik


------------------------------------------------------------------------------
  Do you Yahoo!?
  Yahoo! SiteBuilder - Free web site building tool. Try it!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040202/8c73c1f5/attachment.htm>


More information about the opencms-dev mailing list