IBM Content Analytics with Enterprise Search, Version 3.0.0                  

Creating index fields

When you specify parse and index options for a collection, you can create index fields to represent data that is common in multiple sources. By mapping source fields, elements, and facets to the index fields, you can help ensure that data is consistently retrieved and returned from the various sources in the collection.

If you change an index field definition after data is added to the index, you must rebuild the index. If the document cache is not enabled for an enterprise search collection, you must:
Restriction: When you configure a crawler, the system automatically creates index fields specific to the crawler type. For example, an index field for the database name is automatically created when you configure a JDBC database. These field names are reserved by IBM® Content Analytics with Enterprise Search and you cannot specify them as the names of index fields that you add to the system.

To add an index field and use it in a collection:

  1. On the Collections view, expand the collection that you want to edit. In the Parse and Index pane, click Configure > Index fields.
  2. On the Index Field Definitions page, click Create Index Field.
  3. On the Create an Index Field page, select the attributes that you want to use for searching this field and for viewing the field value in the search results. After you click OK, your new index field is listed with the other index fields that are defined for this collection.
    Tip: If you select the Faceted search attribute for a new index field, a facet with the same name as the index field is created. After the index field is created, you cannot create a facet by editing the index field definition and selecting the Faceted search attribute. To map an existing index field to a facet, create or edit facets in the facet tree.
  4. Configure facets and sources to use the index field. For example, you can map the index field to a facet, or edit a crawl space and map a data source field to the index field. As an example, you might map the Owner field in one data source and the Creator field in another data source to an index field named Author.
After you map source fields or facets to the index field, the Index Field Definitions page shows you which sources and facets are using the index field. If the Input sources and Facets columns are not shown, you can edit the index field to see which crawlers and facets are using the index field. You cannot delete an index field if input sources and facets are using it.

If you want to change how a source or facet is using an index field, click the input source link or facet link. For example, clicking a facet label link opens the facet configuration page. Links are not available for some input source types, such as for fields that are added by REST APIs or for certain types of HTML metadata element mappings.


Feedback

Last updated: May 2012

© Copyright IBM Corporation 2004, 2012.
This information center is powered by Eclipse technology. (http://www.eclipse.org)