[opencms-dev] Lucene does not index my site

ark-d at betasystems.com ark-d at betasystems.com
Wed Jun 8 12:49:29 CEST 2005





Hi Marius,

you have to modify opencms-search.xml so:

<index>
                        <name>Online</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/mysite/</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>

HTH,

Regards,
Arash





                                                                           
             Marius Oancea                                                 
             <mar1u50 at yahoo.ca                                             
             >                                                          To 
             Sent by:                  opencms-dev at opencms.org             
             opencms-dev-bounc                                          cc 
             es at opencms.org                                                
                                                                   Subject 
                                       [opencms-dev] Lucene does not index 
             08.06.2005 12:16          my site                             
                                                                           
                                                                           
             Please respond to                                             
                The OpenCms                                                
               mailing list                                                
             <opencms-dev at open                                             
                 cms.org>                                                  
                                                                           
                                                                           




H,
    I created one site (/sites/mysite) but when i select Update Index i
only got /sites/default and /system/ directories.

    How can I index my site?

    Thanx
       Marius

--
Let your workings remain a mystery.
Just show people the results,
             Lao-Tsu,Tao Te Ching


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list