B C G I M N O P R S V

B

build(Object) - Method in interface org.skife.lucene.graph.MetadataFactory
Provide the metadata fields for entity
build(Object) - Method in interface org.skife.lucene.graph.NameMapper
Return the string to be used as the root of the property chain field names for entity
build(Object) - Method in class org.skife.lucene.graph.SimpleNameMapper
Returns the lowercased base name of the class of the instance passed in.
build(Object) - Method in class org.skife.lucene.graph.SimpleValueMapper
Returns the value returned by String.valueOf(entity)
build(Object) - Method in interface org.skife.lucene.graph.ValueMapper
Receives instance being indexed, should return String to be analyzed and storef as value for the field

C

clear() - Method in class org.skife.lucene.graph.PropertyChain
 

G

GraphIndexer - class org.skife.lucene.graph.GraphIndexer.
Facility which provides for creating indexes on graphs of persistent objects
GraphIndexer() - Constructor for class org.skife.lucene.graph.GraphIndexer
No metadata, StandardLibraryFilter applied to objects traversed, visits all object and collection references, uses the base name of the class (SimpleNameMapper, lower cased, for root names, uses SimpleValueMapper for values, and uses the Lucene StandardAnalyzer to build the index
GraphIndexer(MetadataFactory) - Constructor for class org.skife.lucene.graph.GraphIndexer
Provides the same behavior as the GraphIndexer() constructor except provides for metadata
GraphIndexer(MetadataFactory, ObjectIndexFilter) - Constructor for class org.skife.lucene.graph.GraphIndexer
Provides the same behavior as the GraphIndexer() constructor except provides for metadata and filtering which objects are indexed
GraphIndexer(WalkerFactory, MetadataFactory, Analyzer, ObjectIndexFilter, NameMapper, ValueMapper) - Constructor for class org.skife.lucene.graph.GraphIndexer
Fully specify the behavior of the GraphIndexer

I

IndexBuilder - class org.skife.lucene.graph.IndexBuilder.
Not Thread Safe
IndexBuilder(Graph, MetadataFactory, ObjectIndexFilter, IndexWriter, NameMapper, ValueMapper) - Constructor for class org.skife.lucene.graph.IndexBuilder
Be sure to call run after instantiation to build the actual index!
include(Object) - Method in interface org.skife.lucene.graph.ObjectIndexFilter
Return true to include entity in an index, or false to exclude it.
include(Object) - Method in class org.skife.lucene.graph.StandardLibraryFilter
Returns false if entity is an instanceof a java*
index(Object) - Method in class org.skife.lucene.graph.GraphIndexer
Creates a relation-aware index for everything referenced under root
index(File, Object) - Method in class org.skife.lucene.graph.GraphIndexer
Creates a relation-aware index for everything referenced under root
isIndexedProperty(PropertyDescriptor) - Static method in class org.skife.lucene.graph.IndexBuilder
Returns true if the property should be indexed, false otherwise.

M

MetadataFactory - interface org.skife.lucene.graph.MetadataFactory.
Provide fields which will be stored with entity in Lucene

N

NameMapper - interface org.skife.lucene.graph.NameMapper.
Used for class names as "org.example.model.Wombat" is much less convenient than "wombat".

O

ObjectIndexFilter - interface org.skife.lucene.graph.ObjectIndexFilter.
Used to filter out specific entities while still traversing them.
org.skife.lucene.graph - package org.skife.lucene.graph
 

P

PropertyChain - class org.skife.lucene.graph.PropertyChain.
Used to build root.property.property style fields
PropertyChain(NameMapper, ValueMapper) - Constructor for class org.skife.lucene.graph.PropertyChain
 
peek() - Method in class org.skife.lucene.graph.PropertyChain
Look at the last instance passed in
pop() - Method in class org.skife.lucene.graph.PropertyChain
 

R

reVisited(Object) - Method in class org.skife.lucene.graph.PropertyChain
Called when an instance is found additional times in a cyclic graph
run() - Method in class org.skife.lucene.graph.IndexBuilder
Build the actual index

S

SimpleNameMapper - class org.skife.lucene.graph.SimpleNameMapper.
NameMapper which returns the lowercased base name of the class of the instance passed in.
SimpleNameMapper() - Constructor for class org.skife.lucene.graph.SimpleNameMapper
 
SimpleValueMapper - class org.skife.lucene.graph.SimpleValueMapper.
Simply uses String.valueOf(..) to build an indexable field value
SimpleValueMapper() - Constructor for class org.skife.lucene.graph.SimpleValueMapper
 
StandardLibraryFilter - class org.skife.lucene.graph.StandardLibraryFilter.
Filter which excludes classes in the java standard library, such as java.lang.String or java.lang.Class.
StandardLibraryFilter() - Constructor for class org.skife.lucene.graph.StandardLibraryFilter
 

V

ValueMapper - interface org.skife.lucene.graph.ValueMapper.
Used to convert an object into a String.
visited(Object, Document) - Method in class org.skife.lucene.graph.PropertyChain
Called the first time an entity is found

B C G I M N O P R S V

Copyright © 2004 Brian McCallister. All Rights Reserved.