|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exist.storage.FulltextIndexSpec
Contains information about which parts of a document should be fulltext-indexed for a specified doctype. It basically keeps a list of paths to include and exclude from indexing. Paths are specified using simple XPath syntax, e.g. //SPEECH will select any SPEECH elements, //title/@id will select all id attributes being children of title elements.
| Field Summary | |
protected NodePath[] |
excludePath
|
protected boolean |
includeAlphaNum
|
protected boolean |
includeAttributes
|
protected boolean |
includeByDefault
|
protected NodePath[] |
includePath
|
protected NodePath[] |
preserveContent
|
| Constructor Summary | |
FulltextIndexSpec(java.util.Map namespaces,
org.w3c.dom.Element node)
Constructor for the IndexPaths object |
|
| Method Summary | |
boolean |
getIncludeAlphaNum()
Include alpha-numeric data? |
boolean |
isSelective()
Returns false if all elements are indexed, true if indexation is selective. |
boolean |
match(NodePath path)
Check if a given path should be indexed. |
boolean |
matchAttribute(NodePath path)
Check if a given path should be indexed. |
boolean |
preserveContent(NodePath path)
Check if a given path should be preserveContent. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected NodePath[] includePath
protected NodePath[] excludePath
protected NodePath[] preserveContent
protected boolean includeByDefault
protected boolean includeAttributes
protected boolean includeAlphaNum
| Constructor Detail |
public FulltextIndexSpec(java.util.Map namespaces,
org.w3c.dom.Element node)
| Method Detail |
public boolean isSelective()
public boolean getIncludeAlphaNum()
public boolean match(NodePath path)
path - path to the node
public boolean matchAttribute(NodePath path)
path - path to the node
public boolean preserveContent(NodePath path)
path - path to the node
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||