C D G I L N O P R S T

C

clearLastRecordedIndexation() - Method in class org.nuiton.topia.index.LuceneIndexer
 
clearLastRecordedIndexation() - Method in interface org.nuiton.topia.index.TopiaIndexImplementor
called after commit and rollback to clear the modification record
compareTo(IndexEntry) - Method in class org.nuiton.topia.index.IndexEntry
Order is inverse of natural order, 1 compareTo 0 return -1 not 1 this permit to have the stronger score at beginning of sorted list
context - Variable in class org.nuiton.topia.index.LuceneIndexer
 

D

directory - Variable in class org.nuiton.topia.index.LuceneIndexer
 
doIndexation() - Method in class org.nuiton.topia.index.LuceneIndexer
 
doIndexation() - Method in interface org.nuiton.topia.index.TopiaIndexImplementor
This method is called after commit, to indicate to index all record entry add with addForIndexation method

G

getPersistenceClasses() - Method in class org.nuiton.topia.index.LuceneIndexer
 
getScore() - Method in class org.nuiton.topia.index.IndexEntry
 
getServiceName() - Method in class org.nuiton.topia.index.LuceneIndexer
 
getTopiaId() - Method in class org.nuiton.topia.index.IndexEntry
 

I

indexationMap - Variable in class org.nuiton.topia.index.LuceneIndexer
contient les objets a reindexer car creer, modifier ou supprimer. key: id, value: fields values or null for deletion
IndexEntry - Class in org.nuiton.topia.index
This class permit to store on result search with score
IndexEntry(float, String) - Constructor for class org.nuiton.topia.index.IndexEntry
 

L

LuceneIndexer - Class in org.nuiton.topia.index
To use this indexer you must have two properties defined in config file: topia.index.engin=org.nuiton.topia.framework.LuceneIndexer topia.index.lucene.directory=[/path/to/index/directory] Pour l'utilisation: SortedSet<IndexEntry> result = context.getIndexEngin().search("quelque chose") SortedSet<IndexEntry> result = context.getIndexEngin().search("class:org.nuiton.chorem.entities.Person name:poussin") // ou equivalent avec une map Map m = new HashMap(); m.put("class", "org.nuiton.chorem.entities.Person"); m.put("name", "poussin"); SortedSet<IndexEntry> result = context.getIndexEngin().search(m);
LuceneIndexer() - Constructor for class org.nuiton.topia.index.LuceneIndexer
 

N

NotIndexable - Interface in org.nuiton.topia.index
All entity that you don't want to be indexed must implements this interface

O

org.nuiton.topia.index - package org.nuiton.topia.index
 

P

postInit(TopiaContextImplementor) - Method in class org.nuiton.topia.index.LuceneIndexer
 
preInit(TopiaContextImplementor) - Method in class org.nuiton.topia.index.LuceneIndexer
 

R

recordForIndexation(Object, Object[]) - Method in class org.nuiton.topia.index.LuceneIndexer
 
recordForIndexation(Object, Object[]) - Method in interface org.nuiton.topia.index.TopiaIndexImplementor
During object modification in transaction, this method is called to store all modification, but modification must no be done on index

S

search(String) - Method in class org.nuiton.topia.index.LuceneIndexer
 
search(Map) - Method in class org.nuiton.topia.index.LuceneIndexer
 
search(String) - Method in interface org.nuiton.topia.index.TopiaIndexService
Permet de faire une recherche, par exemple: class:org.nuiton.chorem.entities.Person name:poussin
search(Map) - Method in interface org.nuiton.topia.index.TopiaIndexService
Permet de faire une recherche
SERVICE_NAME - Static variable in interface org.nuiton.topia.index.TopiaIndexService
 

T

TopiaIndexImplementor - Interface in org.nuiton.topia.index
Class used internaly in framework, when you want implement new indexation engin, you must used this interface
TopiaIndexService - Interface in org.nuiton.topia.index
User visible interface for indexation engin To use indexer you must have properties defined in config file: topia.index.engin=[class used to indexation] possible specific property for index engin used Usage example: SortedSet<IndexEntry> result = context.getIndexEngin().search("quelque chose") SortedSet<IndexEntry> result = context.getIndexEngin().search("class:org.nuiton.chorem.entities.Person name:poussin") // or with map Map m = new HashMap(); m.put("class", "org.nuiton.chorem.entities.Person"); m.put("name", "poussin"); SortedSet<IndexEntry> result = context.getIndexEngin().search(m);
toString() - Method in class org.nuiton.topia.index.IndexEntry
 

C D G I L N O P R S T

Copyright © 2004-2009 CodeLutin. All Rights Reserved.