From b0c06b8c02d30ed457efbc5facddeab95efc1c71 Mon Sep 17 00:00:00 2001 From: Shannon Deminick Date: Thu, 23 May 2024 09:56:51 -0600 Subject: [PATCH] Update configuration.md removes the after construction part of customizing index fields --- docs/articles/configuration.md | 35 +--------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/docs/articles/configuration.md b/docs/articles/configuration.md index ff2d4317..d0d9614e 100644 --- a/docs/articles/configuration.md +++ b/docs/articles/configuration.md @@ -52,39 +52,6 @@ public sealed class ConfigureIndexOptions : IConfigureNamedOptions new GenericAnalyzerFieldValueType( - name, - new PhoneNumberAnalyzer())); - -// Map a field to use the custom field value type -myIndex.FieldDefinitionCollection.TryAdd( - new FieldDefinition("Phone", "phonenumber")); -``` - ## Value types Value types are responsible for: @@ -284,4 +251,4 @@ To explore other configuration settings see the links below: ## Luke Lucene.NET 4.8 is compatible with Java Luke 4.8.0, a useful tool for working with Lucene Indexes. Newer versions of Luke can't be used with Lucene.NET 4.8 indexes. -[Luke 4.8.0](https://github.com/DmitryKey/luke/releases/download/4.8.0/luke-with-deps.jar) \ No newline at end of file +[Luke 4.8.0](https://github.com/DmitryKey/luke/releases/download/4.8.0/luke-with-deps.jar)