Class XmlIndexingConfig
- java.lang.Object
-
- com.funnelback.plugin.index.model.indexingconfig.XmlIndexingConfig
-
public class XmlIndexingConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private List<ContentPath>
contentPaths
When empty the field 'whenNoContentPaths' describes what is indexed, when non empty only the text within the given paths are indexed.private List<DocumentPath>
documentPaths
Defines where the documents are within the XML, this can be used to split XML documents.private List<FileTypePath>
fileTypePaths
The type at this path (e.g.private List<InnerDocumentPath>
innerDocumentPaths
Maps an element withing an XML document which contains a (XML escaped) document that may itself be HTML/XML/text. e.g.private List<UrlPath>
urlPaths
The URL at this path will be used as the documents URL.private WhenNoContentPathsAreSet
whenNoContentPathsAreSet
May be set null.
-
Constructor Summary
Constructors Constructor Description XmlIndexingConfig()
-
-
-
Field Detail
-
contentPaths
private List<ContentPath> contentPaths
When empty the field 'whenNoContentPaths' describes what is indexed, when non empty only the text within the given paths are indexed.
-
documentPaths
private List<DocumentPath> documentPaths
Defines where the documents are within the XML, this can be used to split XML documents. Like urlPaths it is recommended to do this within a filter.
-
fileTypePaths
private List<FileTypePath> fileTypePaths
The type at this path (e.g. HTML, PDF, DOC) will be used by the query process to report the original document type. The last file type found will be used.
-
innerDocumentPaths
private List<InnerDocumentPath> innerDocumentPaths
Maps an element withing an XML document which contains a (XML escaped) document that may itself be HTML/XML/text. e.g. /root/html could be a path to an element which contains HTML. The indexer will index that document as though it is HTML.
-
urlPaths
private List<UrlPath> urlPaths
The URL at this path will be used as the documents URL. This will typically cause cached copies to no longer work, this can not be used with Push collections, this path must come before inner HTML documents with links. It is recommended that filtering be used to change the URL instead to avoid those issues
-
whenNoContentPathsAreSet
private WhenNoContentPathsAreSet whenNoContentPathsAreSet
May be set null.
-
-