How can I get the text extracted by the FulltextExtractorWork in my listener ?

Is there a smart solution to get the full text extracted from the FulltextExtractorWork and be sure that my listener is executed after ?

The solution I have now is to fork the code and regenerate the full text extraction.

0 votes

2 answers

45 views

ANSWER



If you are using 10.3 or later then the text is available as a property on the binaryTextUpdated event. More details are in the release notes.

1 votes



Great thanks. Does it means that all your AI computations should be done next to the document creation. I mean, for bulk import we used to manage import, the listeners disabled and after executing listener computations. In your case you choose to not disabled your listener, right ?
03/12/2019


You are right, the listeners aren't disabled. You can turn them off/on via nuxeo.conf.

0 votes