
Classes | |
| class | AutoTransactionHandler |
| class | Configuration |
| class | ConfigurationEntry |
Public Member Functions | |
| ERAutoIndex (String name, NSDictionary indexDef) | |
| void | reindexAllObjects () |
Protected Member Functions | |
| NSSet | entities () |
| boolean | handlesEntity (String name) |
| boolean | handlesObject (EOEnterpriseObject eo) |
Private Attributes | |
| final Configuration | _configuration = new Configuration() |
| NSSet< String > | _entities = NSSet.EmptySet |
Static Private Attributes | |
| static ERXAsyncQueue< Transaction > | _queue |
File Documents.indexModel is
{
// index class to use, default is er.indexing.ERIndex
index = com.foo.SomeIndexClass;
// url for the index files
store = "file://tmp/Document";
// if the index should be double-buffered (currently unused)
buffered = false|true;
// entities in this index
entities = (Asset, File, Media);
// properties to index, these are key paths off the objects
// and are also used for the names of the index fields.
// these don't need to be attributes or relationships
// but can also be simple methods. In fact, if you have multiple
// entities in your index, you will need to support a common set of
// these properties
properties = {
someAttribute = {
// if the index should be stored
store = "NO|YES|COMPRESS";
// if the index is tokenized
index = "NO|TOKENIZED|UN_TOKENIZED|NO_NORMS";
// no idea what this does. consult the lucene docs
termVector = "NO|YES|WITH_POSITIONS|WITH_OFFSETS|WITH_POSITIONS_OFFSETS";
// which analyzer class to use. For german stuff, you'll
// use the org.apache.lucene.analysis.de.GermanAnalyzer.
analyzer = com.foo.SomeAnalyzerClass;
// optional formater for the value
format = com.foo.SomeFormatClass;
// optional number format for the value
numberformat = "0";
// optional date format for the value
dateformat = "yyyy.mm.dd";
};
someRelatedObject.name = {...};
someRelationship.name = {...};
};
}
| ERAutoIndex | ( | String | name, | |
| NSDictionary | indexDef | |||
| ) |
| NSSet entities | ( | ) | [protected] |
| boolean handlesEntity | ( | String | name | ) | [protected] |
| boolean handlesObject | ( | EOEnterpriseObject | eo | ) | [protected] |
Reimplemented from ERIndex.
| void reindexAllObjects | ( | ) |
final Configuration _configuration = new Configuration() [private] |
ERXAsyncQueue<Transaction> _queue [static, private] |
1.5.8