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”.