Lucene.Net  3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties
Public Member Functions | Properties | List of all members
Lucene.Net.Distributed.Configuration.DistributedSearchers Class Reference

Definition of a configurable set of search indexes made accessible by the LuceneServer windows service for a consuming application. These search indexes are defined in the configuration file of an application. The locations defined in a DistributedSearcher match the exposed object URIs as defined in the LuceneServer service. More...

Public Member Functions

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

Properties

static DistributedSearchers GetConfig [get]
 Accessor method for the configurable DistributedSearchers.
 
DistributedSearcher[] DistributedSearcherArray [get]
 Strongly-typed array of DistributedSearcher objects as defined in a configuration section.
 

Detailed Description

Definition of a configurable set of search indexes made accessible by the LuceneServer windows service for a consuming application. These search indexes are defined in the configuration file of an application. The locations defined in a DistributedSearcher match the exposed object URIs as defined in the LuceneServer service.

An example configuration would look like the following: <DistributedSearchers> <DistributedSearcher wsid="1" searchmethod="0" location="c:\localindexes\LocalIndex1"> <DistributedSearcher wsid="2" searchmethod="1" location="tcp://192.168.1.100:1089/RemoteIndex1"> <DistributedSearcher wsid="3" searchmethod="1" location="tcp://192.168.1.101:1089/RemoteIndex2"> </DistributedSearchers>

Definition at line 39 of file DistributedSearchers.cs.

Constructor & Destructor Documentation

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

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

Parameters
xSectionThe Xml definition in the configuration file

Definition at line 56 of file DistributedSearchers.cs.

Property Documentation

DistributedSearcher [] Lucene.Net.Distributed.Configuration.DistributedSearchers.DistributedSearcherArray
get

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

Definition at line 77 of file DistributedSearchers.cs.

DistributedSearchers Lucene.Net.Distributed.Configuration.DistributedSearchers.GetConfig
staticget

Accessor method for the configurable DistributedSearchers.

Definition at line 47 of file DistributedSearchers.cs.


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