Method AddDocument
AddDocument(IndexWriter, SpatialDocument, SpatialStrategy)
Declaration
public static void AddDocument(this IndexWriter writer, SpatialDocument document, SpatialStrategy spatialStrategy)
Parameters
Type | Name | Description |
---|---|---|
IndexWriter | writer | |
SpatialDocument | document | |
SpatialStrategy | spatialStrategy |
AddDocument(IndexWriter, SpatialDocument, SpatialStrategy, Analyzer)
Declaration
public static void AddDocument(this IndexWriter writer, SpatialDocument document, SpatialStrategy spatialStrategy, Analyzer analyzer)
Parameters
Type | Name | Description |
---|---|---|
IndexWriter | writer | |
SpatialDocument | document | |
SpatialStrategy | spatialStrategy | |
Analyzer | analyzer |