Oracle Fusion Applications Search Java API Reference for Oracle Enterprise Crawl and Search Framework
11g Release 1 (11.1.1.6)

E21908-03

oracle.ecsf
Interface Crawlable


public interface Crawlable

Crawlables are objects that can be crawled by a search engine. It contains an indexable document, and a list of URLs that will lead to other crawlables.

An example of crawlable is an HTML page where it contains a list of URLs that can be used to reteive other document as well as its own mContent that can be used.

A crawler can normally work with a crawlable. It will use an index to index its mContent, and queue the URLs to other crawlers to retrieve crawlables.


Method Summary
 java.util.List getCrawlables()
          Returns a list of documents that this crawlable is linked to.
 IndexableDocument getDocument(java.lang.String docId)
          Returns indexable document for a given doc id.
 

Method Detail

getDocument

IndexableDocument getDocument(java.lang.String docId)
Returns indexable document for a given doc id.

Parameters:
docId - document id of an indexable document.

getCrawlables

java.util.List getCrawlables()
Returns a list of documents that this crawlable is linked to.

Returns:
list of documents.

Oracle Fusion Applications Search Java API Reference for Oracle Enterprise Crawl and Search Framework
11g Release 1 (11.1.1.6)

E21908-03

Copyright © 2012 Oracle. All rights reserved.