Configuring Sun Master Indexes

Deleting a Field from the Master Index Object Structure

If a field is defined for an object but does not belong to that object, you can delete the field from the object structure. Make the corresponding changes to the remaining configuration files.

ProcedureTo Delete a Field (Configuration Editor)

  1. In the Projects window, right-click the Configuration node in the project you want to modify, and then click Edit.

    The Configuration Editor appears.

  2. Expand the object structure until the field you want to delete is visible.

  3. Select the field and do any of the following:

    • Right-click in the object tree panel, and then click Delete.

    • Press the Delete key.

    • In the Configuration Editor toolbar, click Delete.

  4. On the confirmation dialog, click Yes.

    The field is removed from the object tree.

  5. On the Configuration Editor toolbar, click Save.

ProcedureTo Delete a Field (XML Editor)

  1. In the Projects window, expand the Configuration node in the project you want to modify, and then double-click object.xml.

    The file opens in the NetBeans XML editor.

  2. Scroll to the tag element defining the object from which you want to delete a field.

  3. Scroll to the fields element containing the field to delete, and then delete all text between and including the fields tags defining that field.

    For example, to delete the AddressLine1 field below, delete all text in the sample.


    <fields>
       <field-name>AddressLine1</field-name>
       <field-type>string</field-type>
       <size>5</size>
       <updateable>true</updateable>
       <required>false</required>
       <key-type>false</key-type>
       <code-module/>
       <pattern/>
       <key-type/>
    </fields>
  4. Save and close the file.