er.indexing
Class ERAutoIndex.Configuration
java.lang.Object
er.indexing.ERAutoIndex.Configuration
- Enclosing class:
- ERAutoIndex
protected class ERAutoIndex.Configuration
- extends java.lang.Object
This class encapsulates the index configuration logic and configures this Index
from the indexModel file associated with this ERIndex instance.
One instance of Configuration is created during the ERAutoIndex constructor.
The Configuration class contains a private instance of a configuration dictionary
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ERAutoIndex.Configuration
protected ERAutoIndex.Configuration()
initFromDictionary
protected void initFromDictionary(com.webobjects.foundation.NSDictionary indexDef)
createAttributes
protected void createAttributes(com.webobjects.foundation.NSDictionary indexDef)
- Creates the lucene index attributes from the properties dictionary contained
in the indexModel defintion. Each property is a key or keypath.
- Parameters:
indexDef
-
configureEntity
protected ERAutoIndex.ConfigurationEntry configureEntity(java.lang.String entityName,
com.webobjects.foundation.NSArray keys)
- Parameters:
entityName
- entity to be indexedkeys
- attributes (keys or keypaths) to be indexed
entryForKey
public ERAutoIndex.ConfigurationEntry entryForKey(java.lang.String key)
setEntryForKey
public void setEntryForKey(ERAutoIndex.ConfigurationEntry entry,
java.lang.String key)
clear
public void clear()
Copyright © 2002 – 2007 Project Wonder.