FieldNumbers
Functions
Link copied to clipboard
Link copied to clipboard
Construct a new FieldInfo based on the options in global field numbers. This method is not synchronized as all the options it uses are not modifiable.
Link copied to clipboard
Link copied to clipboard
This function is called from IndexWriter to verify if doc values of the field can be updated. If the field with this name already exists, we verify that it is a doc values-only field. If the field doesn't exist and the parameter fieldMustExist is false, we create a new field in the global field numbers.