Index: topia2/src/java/org/codelutin/topia/framework/LuceneIndexer.java diff -u topia2/src/java/org/codelutin/topia/framework/LuceneIndexer.java:1.1 topia2/src/java/org/codelutin/topia/framework/LuceneIndexer.java:1.2 --- topia2/src/java/org/codelutin/topia/framework/LuceneIndexer.java:1.1 Mon Oct 9 14:20:18 2006 +++ topia2/src/java/org/codelutin/topia/framework/LuceneIndexer.java Mon Oct 9 14:35:00 2006 @@ -23,9 +23,9 @@ * Created: 8 oct. 06 15:48:37 * * @author poussin - * @version $Revision: 1.1 $ + * @version $Revision: 1.2 $ * - * Last update: $Date: 2006/10/09 14:20:18 $ + * Last update: $Date: 2006/10/09 14:35:00 $ * by : $Author: bpoussin $ */ @@ -64,6 +64,17 @@ *
  • topia.index.engin=org.codelutin.topia.framework.LuceneIndexer *
  • topia.index.lucene.directory=[/path/to/index/directory] * + * Pour l'utilisation: + *
    + * Hits result = context.getIndexEngin().search("quelque chose")
    + * Hits result = context.getIndexEngin().search("class:org.codelutin.chorem.entities.Person name:poussin")
    + * // ou equivalent avec une map 
    + * Map m = new HashMap();
    + * m.put("class", "org.codelutin.chorem.entities.Person");
    + * m.put("name", "poussin");
    + * Hits result = context.getIndexEngin().search(m);
    + * 
    + * * @author poussin * */