VOOZH about

URL: https://www.nuget.org/packages/D4S.Indexer.Application/

⇱ NuGet Gallery | D4S.Indexer.Application 1.0.20




👁 Image
D4S.Indexer.Application 1.0.20

dotnet add package D4S.Indexer.Application --version 1.0.20
 
 
NuGet\Install-Package D4S.Indexer.Application -Version 1.0.20
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="D4S.Indexer.Application" Version="1.0.20" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="D4S.Indexer.Application" Version="1.0.20" />
 
Directory.Packages.props
<PackageReference Include="D4S.Indexer.Application" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add D4S.Indexer.Application --version 1.0.20
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: D4S.Indexer.Application, 1.0.20"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package D4S.Indexer.Application@1.0.20
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=D4S.Indexer.Application&version=1.0.20
 
Install as a Cake Addin
#tool nuget:?package=D4S.Indexer.Application&version=1.0.20
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

D4S.Indexer

Document indexing library for Azure AI Search: extracts text, generates vector embeddings, and uploads searchable chunks.

Quick start

var indexer = IndexerBuilder.Create("my-index")
 .WithAzureSearch(searchEndpoint, searchKey)
 .WithAzureOpenAI(aoaiEndpoint, aoaiKey, embeddingDeployment, embeddingDimensions)
 .WithLocalFiles("./documents")
 .WithFileMetadataFields()
 .Build();

var result = await indexer.IndexAsync();

See src/Rag/samples/ for working examples (local files, SharePoint, OCR, agentic retrieval).

Architecture

D4S.Indexer.Domain Entities, abstractions (interfaces)
D4S.Indexer.Application Orchestration (DocumentIndexerService, DocumentExtractor)
D4S.Indexer.Infrastructure Azure implementations, builder, processors, sources
Interface Purpose
IDocumentSource Enumerates documents from a data source
IDocumentProcessor Extracts text/metadata from a document
IEmbeddingService Generates vector embeddings
ISearchIndexService Manages the index (CRUD on chunks)
ITextChunker Splits text into chunks
IOcrService / IKeywordExtractor OCR for scans / AI keyword extraction

Built-in sources: local filesystem, multi-site SharePoint (PnP Core). Built-in processors: PDF, DOCX, XLSX, PPTX, TXT/Markdown.

Indexing modes

  • Full (default): all documents fetched from every source; documents missing from the source list are deleted from the index.
  • Delta (.WithDeltaMode()): only changed/new/deleted documents are provided; deletion is driven by DocumentMetadata.DeletedDate (set it and pass null for GetContentAsync). No implicit cleanup.

Both modes compare LastModifiedDate against the index to skip unchanged documents.

Builder options

IndexerBuilder.Create("index-name")
 // Required
 .WithAzureSearch(endpoint, apiKey)
 .WithAzureOpenAI(endpoint, apiKey, deployment, dimensions)
 // Sources (at least one)
 .WithLocalFiles("./docs") // or: opts => { opts.Path = …; opts.FileExtensions = […]; }
 .WithSharePointMultiSite(spOptions, contextFactory)
 .WithCustomDocumentSource<T>(serviceProvider, serviceKey)
 // Optional
 .WithDeltaMode()
 .WithFileMetadataFields()
 .WithChunkSize(maxSize: 1000, overlap: 200)
 .WithBatchSize(50)
 .WithKeywordExtraction(gptDeployment, maxKeywords: 10)
 .WithAzureDocumentIntelligence(endpoint, apiKey) // OCR
 .WithCustomDocumentProcessor<T>(serviceProvider, serviceKey)
 .ContinueOnError(true)
 .Filter(meta => meta.Extension == ".pdf")
 .ConfigureMetadata(meta => meta with { CustomFields = … })
 .AddCustomField("Status", CustomFieldType.String, filterable: true)
 .AddIndexFieldsFromAttributes<MyModel>()
 .OnProgress(p => Console.WriteLine(p.Phase))
 .WithLogging()
 .Build();
Product Versions Compatible and additional computed target framework versions.
.NET net10.0 net10.0 is compatible.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on D4S.Indexer.Application:

Package Downloads
D4S.Indexer

D4S document indexer for Azure AI Search and RAG workflows.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.20 95 6/5/2026
1.0.19 95 6/3/2026
1.0.18 117 5/12/2026
1.0.17 111 5/8/2026
1.0.16 99 5/6/2026