Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Public Member Functions | Properties | List of all members
Lucene.Net.Distributed.Configuration.LuceneServerIndexes Class Reference

Definition of configurable search indexes made accessible by the LuceneServer windows service. More...

Public Member Functions

 LuceneServerIndexes (XmlNode xSection)
 Public constructor for LuceneServerIndexes. A LuceneServerIndex is defined in XML configuration and is loaded via a custom configuration handler.
 

Properties

static LuceneServerIndexes GetConfig [get]
 Accessor method for the configurable search indexes.
 
LuceneServerIndex[] LuceneServerIndexArray [get]
 Strongly-typed array of LuceneServerIndex objects as defined in a configuration section.
 
int Port [get]
 A default Port to be assigned to all defined LuceneServerIndex objects. This value can be overridden for a specific LuceneServerIndex.
 

Detailed Description

Definition of configurable search indexes made accessible by the LuceneServer windows service.

An example configuration would look like the following: <LuceneServerIndexes port="1089"> <LuceneServerIndex objecturi="RemoteIndexes1"> <Directory indexa="c:\lucene\indexA\index1" indexb="c:\lucene\indexB\index1"> <Directory indexa="c:\lucene\indexA\index2" indexb="c:\lucene\indexB\index2"> </LuceneServerIndex> <LuceneServerIndex objecturi="RemoteIndexes2"> <Directory indexa="c:\lucene\indexA\index3" indexb="c:\lucene\indexB\index3"> <Directory indexa="c:\lucene\indexA\index4" indexb="c:\lucene\indexB\index4"> </LuceneServerIndex> </LuceneServerIndexes>

Definition at line 42 of file LuceneServerIndexes.cs.

Constructor & Destructor Documentation

Lucene.Net.Distributed.Configuration.LuceneServerIndexes.LuceneServerIndexes ( XmlNode  xSection)

Public constructor for LuceneServerIndexes. A LuceneServerIndex is defined in XML configuration and is loaded via a custom configuration handler.

Parameters
xSectionThe Xml definition in the configuration file

Definition at line 60 of file LuceneServerIndexes.cs.

Property Documentation

LuceneServerIndexes Lucene.Net.Distributed.Configuration.LuceneServerIndexes.GetConfig
staticget

Accessor method for the configurable search indexes.

Definition at line 51 of file LuceneServerIndexes.cs.

LuceneServerIndex [] Lucene.Net.Distributed.Configuration.LuceneServerIndexes.LuceneServerIndexArray
get

Strongly-typed array of LuceneServerIndex objects as defined in a configuration section.

Definition at line 96 of file LuceneServerIndexes.cs.

int Lucene.Net.Distributed.Configuration.LuceneServerIndexes.Port
get

A default Port to be assigned to all defined LuceneServerIndex objects. This value can be overridden for a specific LuceneServerIndex.

Definition at line 105 of file LuceneServerIndexes.cs.


The documentation for this class was generated from the following file: