com.groupdocs.search.options

Class MetadataIndexingOptions

    • Method Detail

      • getIndexingEmptyValues

        public final boolean getIndexingEmptyValues()

        Gets a value indicating whether to index empty field values or not. The default value is true.

        Returns:
        A value indicating whether to index empty field values or not.
      • setIndexingEmptyValues

        public final void setIndexingEmptyValues(boolean value)

        Sets a value indicating whether to index empty field values or not. The default value is true.

        Parameters:
        value - A value indicating whether to index empty field values or not.
      • getIndexingEmptyNames

        public final boolean getIndexingEmptyNames()

        Gets a value indicating whether to index empty field names or not. The default value is true.

        Returns:
        A value indicating whether to index empty field names or not.
      • setIndexingEmptyNames

        public final void setIndexingEmptyNames(boolean value)

        Sets a value indicating whether to index empty field names or not. The default value is true.

        Parameters:
        value - A value indicating whether to index empty field names or not.
      • getDefaultFieldName

        public final String getDefaultFieldName()

        Gets the default field name used to index empty field names. The default value is "unknown".

        Returns:
        The default field name used to index empty field names.
      • setDefaultFieldName

        public final void setDefaultFieldName(String value)

        Sets the default field name used to index empty field names. The default value is "unknown".

        Parameters:
        value - The default field name used to index empty field names.
      • getSeparatorInCompoundName

        public final String getSeparatorInCompoundName()

        Gets the separator in the compound name of a field. The default value is ".".

        Returns:
        The separator in the compound name of a field.
      • setSeparatorInCompoundName

        public final void setSeparatorInCompoundName(String value)

        Sets the separator in the compound name of a field. The default value is ".".

        Parameters:
        value - The separator in the compound name of a field.
      • getMaxBytesToIndexField

        public final int getMaxBytesToIndexField()

        Gets the maximum number of values in an array of type byte to index the field. The default value is Integer.MAX_VALUE.

        Returns:
        The maximum number of values in an array of type byte to index the field.
      • setMaxBytesToIndexField

        public final void setMaxBytesToIndexField(int value)

        Sets the maximum number of values in an array of type byte to index the field. The default value is Integer.MAX_VALUE.

        Parameters:
        value - The maximum number of values in an array of type byte to index the field.
      • getMaxIntsToIndexField

        public final int getMaxIntsToIndexField()

        Gets the maximum number of values in an array of type int to index the field. The default value is Integer.MAX_VALUE.

        Returns:
        The maximum number of values in an array of type int to index the field.
      • setMaxIntsToIndexField

        public final void setMaxIntsToIndexField(int value)

        Sets the maximum number of values in an array of type int to index the field. The default value is Integer.MAX_VALUE.

        Parameters:
        value - The maximum number of values in an array of type int to index the field.
      • getMaxLongsToIndexField

        public final int getMaxLongsToIndexField()

        Gets the maximum number of values in an array of type long to index the field. The default value is Integer.MAX_VALUE.

        Returns:
        The maximum number of values in an array of type long to index the field.
      • setMaxLongsToIndexField

        public final void setMaxLongsToIndexField(int value)

        Sets the maximum number of values in an array of type long to index the field. The default value is Integer.MAX_VALUE.

        Parameters:
        value - The maximum number of values in an array of type long to index the field.
      • getMaxDoublesToIndexField

        public final int getMaxDoublesToIndexField()

        Gets the maximum number of values in an array of type double to index the field. The default value is Integer.MAX_VALUE.

        Returns:
        The maximum number of values in an array of type double to index the field.
      • setMaxDoublesToIndexField

        public final void setMaxDoublesToIndexField(int value)

        Sets the maximum number of values in an array of type double to index the field. The default value is Integer.MAX_VALUE.

        Parameters:
        value - The maximum number of values in an array of type double to index the field.
      • getSeparatorBetweenValues

        public final String getSeparatorBetweenValues()

        Gets the separator between values in a field of type array. The default value is the space sign.

        Returns:
        The separator between values in a field of type array.
      • setSeparatorBetweenValues

        public final void setSeparatorBetweenValues(String value)

        Sets the separator between values in a field of type array. The default value is the space sign.

        Parameters:
        value - The separator between values in a field of type array.