Here's something that /may/ help:

In mayan, the OCR text is located in the `ocr_documentpagecontent` table
It's per page(unfortunate, but if you don't care, you might be able to just 
shove all your OCR'd text into Page 1 of each document).

Here's a SQL query to start with:
SELECT d.label,p.page_number,p.id FROM `documents_document` as d
inner join `documents_documentversion` as v on d.id=v.document_id
inner join `documents_documentpage` as p on p.document_version_id=v.id
WHERE 1 limit 100

This will get you a list of document labels(you might want the ID or other 
stuff), page numbers and unique page IDs. The Unique IDs are what you need 
to create rows in the `ocr_documentpagecontent` table.

It may not be a perfect solution, but you can definitely rig up some stuff 
to get what you need, supported or not!

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to