🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Text Processing: How to fetch documents from database

User: "monami555"
New Altair Community Member
Updated by Jocelyn
Hello again

I have a problem  I have been struggling with for a few days with no success. Maybe somebody could help me out:

(I am using the Text Processing extension, and a "Process Documents From Data" component from there)

With the "Read Database" component I read text fields from db ("SELECT article_text FROM articles"). I pass the result to "Process Documents From Data". Inside "Process Documents From Data" I put "Tokenizer" and a "breakpoint before".

The document that gets there has null content  ???, and an "article_text" attribute set to the value from db.
And I need the value from db to appear there as the document content instead (as this needed for further processing).

I suppose I am making some very stupid mistake here, I would be grateful for any hints..
Thank you

M.

Find more posts tagged with

Sort by:
1 - 2 of 21
    User: "StaryVena"
    New Altair Community Member
    Hi,
    you should maybe add "Nominal to Text" operator between Read Database and Process Documents From Data and convert attribute role (with article text) to "text" role.

    Cheers
    Vaclav
    User: "monami555"
    New Altair Community Member
    OP
    THANK YOU it helped :)