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.DistributedSearcher 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

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

Properties

int Id [get]
 Unique Id value assigned to this DistributedSearcher. Not required for any processing, simply for identification in reference.
 
SearchMethod SearchMethod [get]
 Enumeration value specifying the locality of the index – local or remote
 
string Location [get]
 Reference path to the DistributedSearcher. If SearchMethod is Local, this is a local file-system path, i.e. "c:\local\index". If SearchMethod is Distributed, this is the URI of the server-activated service type, i.e. "tcp://192.168.1.100:1089/RemoteIndex".
 

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 id="1" searchmethod="0" location="c:\localindexes\LocalIndex1"> <DistributedSearcher id="2" searchmethod="1" location="tcp://192.168.1.100:1089/RemoteIndex1"> <DistributedSearcher id="3" searchmethod="1" location="tcp://192.168.1.101:1089/RemoteIndex2"> </DistributedSearchers>

Definition at line 42 of file DistributedSearcher.cs.

Constructor & Destructor Documentation

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

Public constructor for DistributedSearcher. 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 53 of file DistributedSearcher.cs.

Property Documentation

int Lucene.Net.Distributed.Configuration.DistributedSearcher.Id
get

Unique Id value assigned to this DistributedSearcher. Not required for any processing, simply for identification in reference.

Definition at line 105 of file DistributedSearcher.cs.

string Lucene.Net.Distributed.Configuration.DistributedSearcher.Location
get

Reference path to the DistributedSearcher. If SearchMethod is Local, this is a local file-system path, i.e. "c:\local\index". If SearchMethod is Distributed, this is the URI of the server-activated service type, i.e. "tcp://192.168.1.100:1089/RemoteIndex".

Definition at line 122 of file DistributedSearcher.cs.

SearchMethod Lucene.Net.Distributed.Configuration.DistributedSearcher.SearchMethod
get

Enumeration value specifying the locality of the index – local or remote

Definition at line 113 of file DistributedSearcher.cs.


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