Class LuceneSearchProvider
A Full Text Search provider using Lucene.Net.
Inherited Members
Namespace: VDS.RDF.Query.FullText.Search.Lucene
Assembly: dotNetRDF.Query.FullText.dll
Syntax
public class LuceneSearchProvider : BaseLuceneSearchProvider, IFullTextSearchProvider, IConfigurationSerializable
Constructors
| Improve this Doc View SourceLuceneSearchProvider(Lucene.Net.Util.Version, Directory)
Creates a new Lucene Search Provider.
Declaration
public LuceneSearchProvider(Lucene.Net.Util.Version ver, Directory indexDir)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.Version | ver | Version. |
Directory | indexDir | Directory. |
Remarks
Uses the DefaultIndexSchema as the schema and the StandardAnalyzer as the analyzer.
|
Improve this Doc
View Source
LuceneSearchProvider(Lucene.Net.Util.Version, Directory, Analyzer)
Creates a new Lucene Search Provider.
Declaration
public LuceneSearchProvider(Lucene.Net.Util.Version ver, Directory indexDir, Analyzer analyzer)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.Version | ver | Version. |
Directory | indexDir | Directory. |
Analyzer | analyzer | Analyzer. |
Remarks
Uses the DefaultIndexSchema as the schema.
|
Improve this Doc
View Source
LuceneSearchProvider(Lucene.Net.Util.Version, Directory, Analyzer, Boolean)
Creates a new Lucene Search Provider.
Declaration
public LuceneSearchProvider(Lucene.Net.Util.Version ver, Directory indexDir, Analyzer analyzer, bool autoSync)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.Version | ver | Version. |
Directory | indexDir | Directory. |
Analyzer | analyzer | Analyzer. |
System.Boolean | autoSync | Whether to keep the search provider in sync with the index. |
Remarks
Uses the DefaultIndexSchema as the schema.
|
Improve this Doc
View Source
LuceneSearchProvider(Lucene.Net.Util.Version, Directory, Analyzer, IFullTextIndexSchema)
Creates a new Lucene Search Provider.
Declaration
public LuceneSearchProvider(Lucene.Net.Util.Version ver, Directory indexDir, Analyzer analyzer, IFullTextIndexSchema schema)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.Version | ver | Version. |
Directory | indexDir | Directory. |
Analyzer | analyzer | Analyzer. |
IFullTextIndexSchema | schema | Index Schema. |
LuceneSearchProvider(Lucene.Net.Util.Version, Directory, Analyzer, IFullTextIndexSchema, Boolean)
Creates a new Lucene Search Provider.
Declaration
public LuceneSearchProvider(Lucene.Net.Util.Version ver, Directory indexDir, Analyzer analyzer, IFullTextIndexSchema schema, bool autoSync)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.Version | ver | Version. |
Directory | indexDir | Directory. |
Analyzer | analyzer | Analyzer. |
IFullTextIndexSchema | schema | Index Schema. |
System.Boolean | autoSync | Whether to keep the search provider in sync with the index. |
LuceneSearchProvider(Lucene.Net.Util.Version, Directory, Boolean)
Creates a new Lucene Search Provider.
Declaration
public LuceneSearchProvider(Lucene.Net.Util.Version ver, Directory indexDir, bool autoSync)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.Version | ver | Version. |
Directory | indexDir | Directory. |
System.Boolean | autoSync | Whether to jeep the search provider in sync with the index. |
Remarks
Uses the DefaultIndexSchema as the schema and the StandardAnalyzer as the analyzer.
|
Improve this Doc
View Source
LuceneSearchProvider(Lucene.Net.Util.Version, Directory, IFullTextIndexSchema)
Creates a new Lucene Search Provider.
Declaration
public LuceneSearchProvider(Lucene.Net.Util.Version ver, Directory indexDir, IFullTextIndexSchema schema)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.Version | ver | Version. |
Directory | indexDir | Directory. |
IFullTextIndexSchema | schema | Index Schema. |
Remarks
Uses the StandardAnalyzer as the analyzer.
|
Improve this Doc
View Source
LuceneSearchProvider(Lucene.Net.Util.Version, Directory, IFullTextIndexSchema, Boolean)
Creates a new Lucene Search Provider.
Declaration
public LuceneSearchProvider(Lucene.Net.Util.Version ver, Directory indexDir, IFullTextIndexSchema schema, bool autoSync)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Util.Version | ver | Version. |
Directory | indexDir | Directory. |
IFullTextIndexSchema | schema | Index Schema. |
System.Boolean | autoSync | Whether to keep the search provider in sync with the index. |
Remarks
Uses the StandardAnalyzer as the analyzer.
Implements
IDisposable