Abstract Search Rules Search Rules
9.3.2.4.7 TEXT_NEXT TEXT_NEXT searches for text that matches the key exactly
except for case. If such text is found, any text that belongs to the next non-blank XML element is returned as the result. Blank elements and elements composed of non-printing characters will not be selected as the return value. ■ Content: TAG_ATitle: The Big TAG_BBadTAG_B WolfTAG_A TAG_CSubtitle: A TAG_DMoralityTAG_D PlayTAG_C ■ Rule: TEXT_NEXT ■ Key: Title: ■ Returns: Subtitle: A Play9.3.2.4.8 TEXT_ALLNEXT TEXT_ALLNEXT searches for text that matches the key
exactly except for case. If such text is found, any text that belongs to the next non-blank XML element, and to all children of the element, is returned as the result. Blank elements and elements composed of non-printing characters will not be selected as the return value. ■ Content: TAG_ATitle: The Big TAG_BBadTAG_B WolfTAG_A TAG_CSubtitle: A TAG_DMoralityTAG_D PlayTAG_C ■ Rule: TEXT_ALLNEXT ■ Key: Title: ■ Returns: Subtitle: A Morality Play9.3.3 Abstract Search Rules
Abstract search rules look for an XML element and return a descriptive sentence or paragraph from that element. For example, the Summary metadata field could be filled by a returned value of Germany is a large country in size, culture, and worldwide economics. One of Germanys largest industries includes the manufacturing of world class automobiles like BMW, Mercedes, and Audi. The Abstract rule type is useful where there is no readily identifiable or explicitly tagged block of text in the content item. Typically, these rules are used to suggest summary or topic information about the document. This section covers the following topics: ■ Rule Types on page 9-12 ■ Key on page 9-13 ■ Count on page 9-13 ■ Examples on page 9-139.3.3.1 Rule Types
There are two Abstract search rules: First Paragraph and First Sentence. ■ First Paragraph searches for an XML element that exactly matches the key. The entire paragraph of the first such element that meets the size criteria specified by the count is returned as the result. ■ First Sentence searches for an XML element that exactly matches the key. If such an element is found, the first sentence of the element is returned as the result. Managing Content Categorizer 9-139.3.3.2 Key
The key for an Abstract search rule is an XML element.9.3.3.3 Count
The count is interpreted differently for the First Paragraph and First Sentence search rules. First Paragraph For a First Paragraph search rule, the count is a size threshold measured in percent: 1. The rule searches the document for all paragraphs that match the key. 2. The rule calculates the average size based on character count of the paragraphs that match the key. 3. The rule multiplies the average size by the count percentage 0 = 0, 100 = 100. 4. The rule looks for the first paragraph larger than the resulting number. For example, if the count is set to 75 and the average paragraph size is 100 characters, the rule returns the first paragraph larger than 75 characters that matches the key. If the count is set to the default of 1, the rule is likely to return the first paragraph that matches the key. First Sentence For a First Sentence search rule, the count is the number of elements that have their first sentences returned. For example, if the count is set to 3, the rule returns the first sentence from each of the first three elements that match the key.9.3.3.4 Examples
The following examples illustrate the use of the Abstract search rules: ■ FIRST_PARAGRAPH on page 9-13 ■ FIRST_SENTENCE on page 9-149.3.3.4.1 FIRST_PARAGRAPH This example returns the first Text element that
exceeds one-half the average Text element paragraph size. Note that the Title element does not match the key value, so it is ignored for both the search and for the average length calculation. ■ Content: TitlePoemTitle TextMary hadText Texta little LambText TextThe fleece was white as snowText TextAnd everywhere that Mary went the lamb was sure to goText ■ Rule: FIRST_PARAGRAPH ■ Key: Text ■ Count: 50 ■ Returns: The fleece was white as snow. 9-14 Application Administrators Guide for Content Server9.3.3.4.2 FIRST_SENTENCE This example returns the first sentence of the first two
Text elements. Note that theTitle element does not match the key value, so it is excluded from the search. ■ Content: xTitleBarefoot in the ParkTitle TextSee Dick run. See Jane run. See Dick and Jane.Text TextSee Spot run. See Puff chase Spot.Text TextSee Dick chase Spot and Puff.Text ■ Rule: FIRST_SENTENCE ■ Key: Text ■ Count: 2 ■ Returns: See Dick run. See Spot run.9.3.4 Option List Search Rule
Parts
» Oracle Fusion Middleware Online Documentation Library
» About Native File Conversion Identifying MIME Types
» About Custom Fields Managing Content Fields
» Changing the Default Sort Order of the Opening Query
» About Managed Links Managing Linked Content with Link Manager
» Configuring Link Manager Managing Linked Content with Link Manager
» Managing Links Managing Linked Content with Link Manager
» Link Manager Database Tables
» Link Manager Filters Managing Linked Content with Link Manager
» Site Studio Integration Managing Linked Content with Link Manager
» Click Go located next to the Abort refresh activity option. The refresh activity
» About DCLs and Metadata Schemas
» About Content Profiles Using Profiles to Customize Content Screens
» Content Profile Rules Using Profiles to Customize Content Screens
» Click OK. Oracle Fusion Middleware Online Documentation Library
» Select the Is global rule with priority check box. You can optionally change the
» On the Conditions tab, click Add. Click OK. Click OK. Click OK. Click OK.
» Workflow Overview Introduction to Workflows
» Workflow Steps Introduction to Workflows
» Workflow Step Evaluation Process
» Pre-design Questions Planning a Workflow
» Designing a Workflow Modifying Workflows
» Criteria Workflow Process Creating a Criteria Workflow
» Basic Workflow Process Creating a Basic Workflow
» Idoc Script Functions and Variables
» About Jumps Customizing Workflows
» Jump Variables and Steps Setting Up Jumps
» Jump Examples Customizing Workflows
» Scenario 1: Criteria Workflow Workflow Scenarios
» Scenario 2: Tokens Scenario 3: Jump Based on Metadata Scenario 4: Time-Dependent Jump
» Acquiring a Digital Signature Setting Up Parallel Workflows
» Adding Ad Hoc Step Users Customizing Criteria Workflow Emails
» Paste the following code into the entry event of your workflow step. Note that
» Other Customizations Workflow Tips and Tricks
» Searching Within a Workflow Step Suppressing Workflow Notifications
» Workflow Item Stuck in EDIT or GENWWW Status
» Workflow Item Entered in Wrong Workflow
» About PDF Watermark How PDF Watermark Works
» Folders Overview Usage Scenarios
» Folders Structure Naming Folders Folders Component Security
» Folder Metadata Inheritance Trash Bin Metadata Propagation
» Folder Content Item Revisions
» Folder Archiving Folder Searching URL-Mapped Folders
» About WebDAV What is WebDAV?
» WebDAV Clients WebDAV Architecture
» Preventing Folder Static Inheritance for Specific Metadata Fields
» Optimizing System Performance Click OK.
» Virtual Folders Configuring WebDAV
» Other Issues Click OK twice to save the settings and close the Internet Options screen.
» Adding Custom Viewers and Renderers
» Content Tracker Summary About Content Tracker Components and Functions
» Content Tracker Reports Summary Data Recording Overview
» Data Reduction Overview Data Reporting Overview Content Tracker Terminology
» General Limitations General Considerations
» Data Collection and Processing
» Data Collection Operational Overview
» Data Reduction Operational Overview
» Data Output Operational Overview
» Tracking Limitations Operational Overview
» Data Reduction Features Data Tracking Functions
» Activity Snapshots Data Tracking Functions
» Service Calls Data Tracking Functions
» Web Beacon Objects Data Tracking Functions
» Click the Snapshot tab. Click OK. Open the Content Tracker Administration page: Click OK.
» Oracle and DB2 Case Sensitivity Access Control Lists and Content Tracker Reports Secure Mode
» Pre-Defined Reports Report Generation
» Custom Reports External Report Generator
» User AuthenticationAuthorization and Auditing Site Studio Web Site Activity Reporting
» Security Checks and Query Results
» Accessing Drill Down Reports Accessing Reports from the Information Page
» Creating Custom Report Queries
» Creating Secure Report Queries Using an External Report Generator
» About the Service Call Configuration File
» About the Content Tracker Logging Service
» Managing Service Call Information
» Configuration Variables Configuration and Customization
» Activity Metrics SQL Queries
» Web Server Filter Debugging Support Java Code Debugging Support DataBinder Dump Facility
» Search Rules About Content Categorizer
» XML Conversion About Content Categorizer
» Configuration Variable Setting Up Content Categorizer
» Understanding Search Rules Search Rules
» Pattern Matching Search Rules
» Abstract Search Rules Search Rules
» Categorization Engine Search Rule Filetype Search Rule
» Translation Transformation Using XSLT Stylesheets
» SearchML Transformation XSLT Transformation
» Flexiondoc Transformation XSLT Transformation
Show more