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.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()
XmlIndexingConfig(List<ContentPath> contentPaths, List<DocumentPath> documentPaths, List<FileTypePath> fileTypePaths, List<InnerDocumentPath> innerDocumentPaths, List<UrlPath> urlPaths, WhenNoContentPathsAreSet whenNoContentPathsAreSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ContentPath>
getContentPaths()
When empty the field 'whenNoContentPaths' describes what is indexed, when non empty only the text within the given paths are indexed.List<DocumentPath>
getDocumentPaths()
Defines where the documents are within the XML, this can be used to split XML documents.List<FileTypePath>
getFileTypePaths()
The type at this path (e.g.List<InnerDocumentPath>
getInnerDocumentPaths()
Maps an element withing an XML document which contains a (XML escaped) document that may itself be HTML/XML/text.List<UrlPath>
getUrlPaths()
The URL at this path will be used as the documents URL.WhenNoContentPathsAreSet
getWhenNoContentPathsAreSet()
May be set null.void
setWhenNoContentPathsAreSet(WhenNoContentPathsAreSet whenNoContentPathsAreSet)
May be set null.
-
-
-
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.
-
-
Constructor Detail
-
XmlIndexingConfig
public XmlIndexingConfig(List<ContentPath> contentPaths, List<DocumentPath> documentPaths, List<FileTypePath> fileTypePaths, List<InnerDocumentPath> innerDocumentPaths, List<UrlPath> urlPaths, WhenNoContentPathsAreSet whenNoContentPathsAreSet)
-
XmlIndexingConfig
public XmlIndexingConfig()
-
-
Method Detail
-
getContentPaths
public List<ContentPath> getContentPaths()
When empty the field 'whenNoContentPaths' describes what is indexed, when non empty only the text within the given paths are indexed.
-
getDocumentPaths
public List<DocumentPath> getDocumentPaths()
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.
-
getFileTypePaths
public List<FileTypePath> getFileTypePaths()
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.
-
getInnerDocumentPaths
public List<InnerDocumentPath> getInnerDocumentPaths()
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.
-
getUrlPaths
public List<UrlPath> getUrlPaths()
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
-
getWhenNoContentPathsAreSet
public WhenNoContentPathsAreSet getWhenNoContentPathsAreSet()
May be set null.
-
setWhenNoContentPathsAreSet
public void setWhenNoContentPathsAreSet(WhenNoContentPathsAreSet whenNoContentPathsAreSet)
May be set null.
-
-