MENU
      Index

        Index


        Article summary

        Available in Classic

        This is the index information for the target you're searching for.

        Note

        Currently, there are no index settings available, so you can only set the sections to index and the index name.

        Syntax

        The syntax is as follows.

        private String name = "idx1";
        private boolean createTermLoc = false;
        private String documentTermWeight = "sum_wgt";
        private List<BuildInfo> buildInfos = new ArrayList<BuildInfo>();
        Java

        Field

        The following describes the fields.

        FieldTypeRequiredDescription
        nameStringRequiredIndex name
        • Only English letters, numbers, and the special character "_" are allowed
        createTermLocBooleanRequiredWhether to log location information for indexed terms
        • true | false
        documentTermWeightStringRequiredExpressions used to store document values
        • Index settings to be added
        • sum_wgt (default)
        buildInfosList<BuildInfo>RequiredList of index creation information

        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.