You mean the fulltext extraction from the attached files?
You're right that this could change if you updat your fulltext extractors
configuration...
Unfortunately we don't have a simple way to do this at the moment.
The simplest way would be to do iterate over all the documents and send a
reindexing event for each:
EventProducer eventProducer = Framework.getService(EventProducer.class);
for (...) {
Set<Serializable> ids = new HashSet<Serializable>();
ids.add(id); // you could batch several at a time as well
EventContext eventContext = new EventContextImpl(ids, null);
eventContext.setRepositoryName(session.getRepositoryName());
Event event = eventContext.newEvent(BinaryTextListener.EVENT_NAME);
eventProducer.fireEvent(event);
}
--
Posted by "fguillaume" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=3140#9389>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm