From 4596979801f8b1d2ed52607dece6686fc2c94764 Mon Sep 17 00:00:00 2001 From: xescugc Date: Wed, 15 Jun 2022 22:12:51 +0200 Subject: [PATCH] docs/Index-Mapping: Make reference to the actual interface path While reading the docs it was hard to find the 'Classifier' as I was searching it inside the root directory as you have here documented. It's not actually there so this updates the path to the actual one --- docs/Index-Mapping/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Index-Mapping/index.html b/docs/Index-Mapping/index.html index 004f5eb..2f9f821 100644 --- a/docs/Index-Mapping/index.html +++ b/docs/Index-Mapping/index.html @@ -279,7 +279,7 @@

Document Type

How does bleve know what type a document is?

    -
  1. If your object implements the interface bleve.Classifier then bleve will use string returned by its Type() method.
  2. +
  3. If your object implements the interface bleve/mapping.Classifier then bleve will use string returned by its Type() method.
  4. The IndexMapping has a setting called TypeField. You can set this to any document path, and if the value at that path is a string, that value will be used as the typed field. If you did not customize this setting the default is set to “_type”.
  5. If no type can be determined from 1 or 2, the type is set to the IndexMapping’s DefaultType. If you did not customize this setting the default is set to “_default”.