TopiaIndexService
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);
|