Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
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". | |
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.
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.
xSection | The Xml definition in the configuration file |
Definition at line 53 of file DistributedSearcher.cs.
|
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.
|
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.
|
get |
Enumeration value specifying the locality of the index – local or remote
Definition at line 113 of file DistributedSearcher.cs.