Uses of Interface
org.nuiton.topia.index.TopiaIndexService

Uses of TopiaIndexService in org.nuiton.topia.index
 

Subinterfaces of TopiaIndexService in org.nuiton.topia.index
 interface TopiaIndexImplementor
          Class used internaly in framework, when you want implement new indexation engin, you must used this interface
 

Classes in org.nuiton.topia.index that implement TopiaIndexService
 class LuceneIndexer
          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);
 



Copyright © 2004-2010 CodeLutin. All Rights Reserved.