Getting Started

Admin Setup

Installation

Download the Trusted Answer Search installation archive from https://oracle.com/downloads. After downloading, open the archive and follow README.md to deploy all components—including the backend services and the APEX administrative and portal applications.

Quick Start

When installation completes, open the apex_ship/QUICK_START.md guide inside the archive. Use the walkthrough to import the sample Wikimedia Stats or Trusted SQL search space and run search queries from the portal app to validate the deployment.

Creating Search Spaces

If you skipped the sample import in the Quick Start guide—or if the brokerage search space was not created automatically—you can add it manually in the admin app using the steps below.

  1. Sign in with your Search Administrator or Search Space Expert credentials. You may use the privileged tasadmin account for the same.

Login Screen for the Admin App

  1. Then, choose Search Spaces in the left navigation. The table lists every search space that currently exists.

    Search Spaces table showing existing domains and the Create Search Space button

  2. Select Create Search Space (or edit an existing entry) to open the configuration drawer. Provide a concise internal Name such as BROKERAGE, then focus on the fields that power the end-user portal experience:

    • Search Space Title shown in the Portal App – the heading displayed above the results rail.

    • Description shown in the Portal App – a short paragraph that tells users what queries this space answers.

    • Search Bar Placeholder Text in the Portal App – the hint text that appears inside the search box.

    These strings are customer-facing, so invest the same care you bring to marketing copy: write clear, contextual guidance that matches the intent of your audience.

    Drawer for creating or updating a search space with portal title, description, and search placeholder fields

  3. Click Create. The new search space appears in the table and can now hold search targets. Now, you can proceed to creating search targets.

Building Search Targets

Use the admin app to curate search targets that surface reliable answers for every user query. The steps below illustrate how to create a “Learn Margin Trading” search target inside the brokerage search space.

  1. Sign in to the admin console with the Search Administrator credentials. After authentication you land on the dashboard — note the global Search Space selector in the header at top-right.

    Dashboard after login showing the Search Space selector

  2. Open the Search Space dropdown and choose brokerage, then click Search Targets in the left navigation to load the catalog for that space.

    Search Targets list filtered to the brokerage space

  3. Click Create Target on the top-right of the page. The form opens with three steps. Provide the general metadata first.
    • Search Target TitleLearn Margin Trading
    • Search Target Description – The target description should semantically describe what this target is about. Note that this description is used during the retrieval process of Trusted Answer Search and directly impacts the search quality. So, it is very important to write this well.

      Enter this description:
      Explains how margin accounts work, eligibility requirements, and risk management techniques for trading with borrowed funds.

    Create Search Target form with title and description fields

  4. In Step 2: Select Target Action, select URL and paste https://www.brokerage123.com/learn/trading/margin into the URL field. The form validates the link automatically.

  5. In Step 3: Add Sample Queries, supply realistic prompts that should retrieve this target. Each sample query must mirror the language your app’s end-users naturally uses — specific scenarios and intent-driven phrasing guide semantic matching.

    Enter the following queries into the Sample Query box and click Add Sample Query after every entry. For example:

    • how does margin trading work
    • margin requirements for stock trades
    • risks of trading on margin

    As you add them, the table beneath the input lists the saved queries.

    Sample queries added to the new search target

  6. Click Create Search Target. The button is enabled once a title, description, and target action (URL/SQL) is added. The new “Learn Margin Trading” target immediately appears in the brokerage catalog.

    Note that this search target will not appear in the search results yet because you have not PUBLISHED this DRAFT search space version yet. We will publish the search space version once we are done making all the edits.

    Search Space versioning is explained later in this document.

Configuring Target Inputs

Some reports require a parameter—such as a ticker symbol, account number, region, or date range—before they can resolve to the correct dataset. Instead of creating hundreds of near-duplicate search targets, use Target Inputs so Trusted Answer Search can inject the user’s intent directly into the action URL or SQL.

For instance, if you create an “Index Level and Performance” search target, the static report URL https://brokerage123.com/markets/index?symbol=GSPC shows the S&P 500 index level, while …?symbol=DJI displays the Dow Jones index. Rather than managing two separate targets, parameterise the action URL and map the placeholder to a Target Value Set:

https://brokerage123.com/markets/index?symbol=:INDEX_SYMBOL
  1. From Search Targets, click Create Target to create an “Index Level and Performance” search target.

    Title: Index Level and Performance
    Description: This report shows a market index’s latest level, recent performance, and trend analysis.

    Create Target page before adding target inputs

  2. Under Step 2: Select Target Action, select URL and paste the parameterized link https://brokerage123.com/markets/index?symbol=:INDEX_SYMBOL. The app automatically detects the :INDEX_SYMBOL placeholder and exposes a Target Inputs table beneath the URL.

    Target Inputs table appears after entering the :INDEX_SYMBOL placeholder

  3. Click Create New Target Set to launch the Add Target Value Set dialog.

    Name: Index Symbols
    Description: List of short codes for stock indexes
    Target value sets can be maintained manually (static list) or sourced from a table column that you refresh on demand. For this example choose Manual Input, then add rows for GSPC (synonyms: S&P 500, S and P 500) and DJI (synonyms: Dow Jones, Dow Jones Industrial Average).

    Add Target Value Set dialog showing manual input entries for GSPC and DJI

  4. Save the value set and select it from the Target Value Set dropdown so the INDEX_SYMBOL row reads INDEX SYMBOLS. The table now shows which value set will supply runtime substitutions.

    INDEX_SYMBOL input mapped to the INDEX SYMBOL value set

  5. Provide sample queries that align with the placeholders your users will mention—e.g.,

    • S&P 500 index level
    • Dow Jones closing performance
    • GSPC returns

    These examples help semantic matching route the request to the correct target.

    Sample queries added for the index performance target

With the mapping in place, a search query such as “S&P 500 index level” resolves :INDEX_SYMBOL to GSPC, and Trusted Answer Search returns the fully qualified link https://brokerage123.com/markets/index?symbol=GSPC. Use the same pattern for table-driven value sets when a data team owns authoritative lists—simply point the target input at the refreshed table column instead of entering static rows.

With the new target saved, move on to publishing the draft search space version so end-users can reach the updated catalog.

Managing Search Space Versions

The following section allows a Search Administrator or Search Space Expert to review and promote changes to a search space.

  1. From Search Spaces, locate the search space you are working on—in this example, BROKERAGE. The status column shows the current draft alongside any published version so you can confirm that edits are isolated to a draft.

    Search Spaces table listing brokerage with a draft version

  2. Click BROKERAGE to open the versions dashboard. The version list (left) and version tree (right) surface the active draft at the top of the chain so you can verify it is still in Draft state before proceeding.

    Brokerage version detail page showing the draft node in the version tree

  3. Select Current Draft Changes to check what has been added or updated in this draft version. The view highlights the new “Index Level and Performance” search target along with the newly-added Index Symbols value set.

    Current Draft Changes view with Index Level and Performance listed

  4. Use the action menu (three dots) next to the draft version and choose Regressions to inspect whether previously-answered queries would degrade after publishing. Click Confirm on the Regressions Analysis popup and proceed to viewing the regressions. Review the reported regressions. There should not be any regressions in this example, as shown in the image below.

    Regressions screen launched from the draft version action menu

  5. From there, return to the Search Space versions view, open the action menu (three dots) next to the DRAFT search space version again and choose Publish to promote the draft. Publishing makes the search space version available to end-users to query.

    Publish dialog for the brokerage search space version

With the draft changes published, add an end-user who can query the brokerage search space.

Managing User Access

Trusted Answer Search uses Oracle Database authentication, so every user (i.e., Search Administrator, Search Space Expert, or Search Space User) must exist as a database account before you can authorize that user to access the Trusted Answer Search application.

The following steps add a Search Space User called tasuser. Run the following statement (or ask your Database Administrator) to provision a search-only account:

create user tasuser identified by tasuser;
  1. Sign in to the admin app as tasadmin, choose Users in the left navigation, and confirm that the brokerage workspace is selected in the header. The report lists existing administrators, experts, and search-only users.

    Users report with the Add User button highlighted

  2. Click Add User to open the drawer. Enter tasuser, check only the User role, and pick brokerage from the Search Space list so the new account is scoped correctly. Finish by clicking Add.

    Add User drawer completed with tasuser and brokerage user access

  3. The Users table immediately shows TASUSER. Select the username to review the access drawer. The Search Space Access region confirms that the account has User access to brokerage; add or revoke other spaces here as needed.

    User details drawer showing brokerage user access for tasuser

After adding the search space user, sign in to the brokerage search space using that account.

Querying on Portal App

  1. Launch the portal application in a fresh session and sign in with tasuser / tasuser.

    Portal login page ready for tasuser credentials

  2. After login, pick BROKERAGE from the Search Space menu, type Show me the S&P 500 level into the question box, and submit the search. The top result returns the “Index Level and Performance” target with the index value set to GSPC. Notice that Trusted Answer Search extracted the S&P 500 reference from the user query and substituted the value GSPC from the Index Symbols Target Value Set in the URL.

    Portal results showing Index Level and Performance mapped to GSPC

  3. Selecting Index Level and Performance opens the curated brokerage report in a new browser tab. The link resolves to https://brokerage123.com/markets/index?symbol=GSPC, which displays the latest S&P 500 index performance metrics.

Once the sample query is working end-to-end, explore how a Search Space Expert can improve search results over time.

Human-in-the-loop refinement

Search Space Experts can influence the search target retrieval by rewarding accurate answers and suppressing noisy matches.

  1. All feedback (upvotes and downvotes) is stored against the DRAFT search space version (or against a published version when Settings → Edit Published Versions? is set to Yes). For this example, set Edit Published Versions? to Yes.

    Settings change of Edit Published Versions to Yes

  2. Let’s first establish a baseline: in the Portal app, search for “mutual funds” and note that “Mutual Funds Investing” target appears ahead of “Mutual Fund Research”.

    Portal results before any expert feedback

  3. In the Admin app, open Search History, click on the mutual funds query, and inspect that. The interactive report lets you drill into the exact ranking the user saw.

    Search History filtered to the mutual funds query

  4. From the query drawer, click Upvote on the “Mutual Fund Research” card to promote it. An admin might do this when they want Mutual Fund Research to lead the answer rail because that is the report their end-users care about most. The success banner confirms that the adjustment is recorded in the current (draft) search space version.

    Admin upvoting the Mutual Fund Research target

  5. Re-run the mutual funds query in the portal. The promoted target “Mutual Fund Research” now occupies Rank 1 and the previous leader shifts down.

    Portal results after confirming the upvote

  6. Back in the query drawer, locate “Tax Forms & Information” and click Downvote to demote the noisy match.

    Admin confirming the downvote on Tax Forms & Information

  7. Re-run the query in a fresh portal session. The downvoted card drops out of the top answers, letting a more relevant result enter the slate.

    Portal results after the confirmed downvote removes the Tax Forms & Information card

  8. End-users can also react in real time by giving a thumbs up 👍 or thumbs down 👎 on the Portal app. The thumbs buttons on each card capture proposed votes by the end-user—“Mutual Fund Research” earns a 👍 while “Tax Forms & Information” gets a 👎 in the example below.

    End-user upvote on the Portal app:

    Portal user upvoting the Mutual Fund Research card

    End-user downvote on the Portal app:

    Portal user downvoting the Tax Forms & Information card

    Note that the Portal app feedback is advisory: Trusted Answer Search’s ranking engine ignores it until a Search Space Expert reviews and confirms the suggestion in the admin app.

  9. Go back to the Admin app. The Search History report highlights queries with pending signals in the User Feedback column.

    Search History highlighting queries with pending user feedback

  10. Click the 👍 or 👎 icon to open the drawer, review who voted, and apply the change with the Confirm Upvote / Confirm Downvote buttons or provide your own feedback.

    Review and Confirm end-user feedback:

    Review end-user feedback

    Confirmed Upvote/Downvote:

    Confirm Upvote/Downvote

Human-in-the-loop refinement keeps your published experience aligned with user intent—reward the search targets that answers the question correctly, demote bad or stale matches, and let experts guide the Trusted Answer Search retrieval process.