sourceGroup

A source group consists of one or more sources. When entering a search, users can select the source groups to search instead of searching all available sources. A source can belong to multiple source groups.

Object Type

Creatable

Object Key

name

Object Key Command Syntax

--NAME=object_name

-n object_name

State Properties

None

Supported Operations

create
createAll
delete
deleteAll
deleteList
export
exportAll
exportList
getAllObjectKeys
update
updateAll

Administration GUI Page


Global Settings - Translate Source Group Name
Search - Source Groups - Create or Edit Source Group

XML Description

The <search:sourceGroups> element describes source groups:

<search:sourceGroups>
   <search:sourceGroup>
      <search:name>
      <search:translations>
      <search:assignedSources>
         <search:assignedSource>

Schema Descriptions 

<search:sourceGroups>

Contains one or more <search:sourceGroup> elements, each defining a source group.

<search:sourceGroup>

Describes a source group. It contains these elements:

<search:name>
<search:translations>
<search:assignedSources>
<search:name>

Contains the name of the source group. (Required)

<search:translations>

Contains translations of the object name for display. See "Providing Translations of Object Names".

<search:assignedSources>

Contains one or more <search:assignedSource> elements, each identifying a source assigned to this source group.

<search:assignedSource>

Contains the name of a source in this source group.

Example

This XML document defines two source groups, Web and Calendar:

<search:config productVersion="11.1.2.2.0" xmlns:search="http://xmlns.oracle.com/search">
  <search:sourceGroups>
    <search:sourceGroup>
      <search:name>Web</search:name>
    </search:sourceGroup>
    <search:sourceGroup>
      <search:name>Calendar</search:name>
      <search:translations>
        <search:translation language="de">
          <search:translatedValue>Kalender</search:translatedValue>
        </search:translation>
        <search:translation language="fi">
          <search:translatedValue>kalenteri</search:translatedValue>
        </search:translation>
        <search:translation language="es">
          <search:translatedValue>calendario</search:translatedValue>
        </search:translation>
        <search:translation language="pt-br">
          <search:translatedValue>calendario</search:translatedValue>
        </search:translation>
      </search:translations>
    </search:sourceGroup>
  </search:sourceGroups>
</search:config>