Antw: RE: [opencms-dev] Exclude Files from Indexing

Hartmann, Waehrisch & Feykes GmbH hartmann at waehrisch-feykes.de
Fri Oct 10 15:52:01 CEST 2003


Hi Björn,

the best solution would be to apply Marcus' patch for not indexing resources
without visible flag for guests and clear this flag of the documentation
folder and its subfiles and subfolders.

Bye,
Stephan

----- Original Message ----- 
From: "Björn Schlueter" <bschlueter at lenord.de>
To: <opencms-dev at opencms.org>
Sent: Friday, October 10, 2003 3:00 PM
Subject: RE: Antw: RE: [opencms-dev] Exclude Files from Indexing


Hi Marcus,

I am still in deed of some help.
My vfs structure looks like this:

-alkakondocumentation
-folder 1
-folder 2
-folder 3
-folder 4
-file1
-file2

all files and all folders are supposed to be indexed. Only alkakon
documentation should not be indexed.
Is there a way to explicitely exclud one folder? Or do I have to include the
files as well?

Gratefull for your help

regards
Björn

>>> mredeker at web.de 09.10.2003 17:58:08 >>>
Hi,

in the following snippet change the value of location from "/" to
whatever you directory is which you want to have indexed. If you have
more then one you can have the directory tag repeated.


            <directories>
                <directory location="/">
                    <section>Lenord</section>
                    <subsearch>true</subsearch>
                </directory>
            </directories>



--Marcus

> -----Original Message-----
> From: opencms-dev-admin at opencms.org
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Björn Schlueter
> Sent: Thursday, October 09, 2003 5:34 PM
> To: opencms-dev at opencms.org
> Subject: Antw: RE: [opencms-dev] Exclude Files from Indexing
>
>
> Hi Marcus,
>
> this is what my registry.xml-file looks like. Can you tell me
> what I have to insert or to change?
>
> THX
> Björn
>
>  <luceneSearch>
>             <mergeFactor>100000</mergeFactor>
>             <permCheck>true</permCheck>
>             <indexDir>/var/opencms_addons/luceneindex/</indexDir>
>
> <analyzer>org.apache.lucene.analysis.de.GermanAnalyzer</analyzer>
>             <subsearch>true</subsearch>
>             <project>online</project>
>             <docFactories>
>                 <pageDocFactory enabled="true">
>
> <class>net.grcomputing.opencms.search.lucene.PageDocument</class>
>                 </pageDocFactory>
>                 <plainDocFactory enabled="true">
>                     <fileType name="plaintext">
>                         <extension>.txt</extension>
>
> <class>net.grcomputing.opencms.search.lucene.PlainDocument</class>
>                     </fileType>
>                     <fileType name="taggedtext">
>                         <extension>.html</extension>
>                         <extension>.htm</extension>
>                         <extension>.xml</extension>
>                         <!-- This will strip tags before
> processing -->
>
> <class>net.grcomputing.opencms.search.lucene.TaggedPlainDocume
> nt</class>
>                     </fileType>
>                 </plainDocFactory>
>                 <jspDocFactory enabled="true">
>
> <class>net.grcomputing.opencms.search.lucene.JspDocument</class>
>                 </jspDocFactory>
>                 <xmlTemplateDocFactory enabled="false"/>
>             </docFactories>
>             <directories>
>                 <directory location="/">
>                     <section>Lenord</section>
>                     <subsearch>true</subsearch>
>                 </directory>
>             </directories>
>         </luceneSearch>
>
> >>> mredeker at web.de 09.10.2003 15:16:24 >>>
> In the directories section of in "registry.xml" you can
> specify which VFS directories should be indexed. --Marcus
>
> > -----Original Message-----
> > From: opencms-dev-admin at opencms.org
> > [mailto:opencms-dev-admin at opencms.org] On Behalf Of Björn Schlueter
> > Sent: Thursday, October 09, 2003 1:30 PM
> > To: opencms-dev at opencms.org
> > Subject: [opencms-dev] Exclude Files from Indexing
> >
> >
> > Hello there,
> >
> > we are using the Lucene-Module to as our search engine.
> > Unfortunately lucene is indexing all the documentation. Is it
> > possible to exclude those directories from indexing?
> >
> > Regards
> > Björn Schlüter
> >
> > _______________________________________________
> > 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
> >
>
>
> _______________________________________________
> 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
>
> _______________________________________________
> 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
>


_______________________________________________
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
_______________________________________________
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