Ivan,

> se_term doesn't support loading from stdin. You don't need it in your case, 
> run:
> ./se_term -query "load 'hamlet1.xml' 'hamlet1'" testdb

I think I need piping "se_term" with "find" file command. In my case,
I already have all website mirror's files that I need. With piping I
don't need to programatically load them.

What the meaning of "input stream" mean here:
http://sedna.org/progguide/ProgGuidesu7.html#x13-500002.4 ?

-aris

On 12/30/11, Ivan Shcheklein <shchekl...@gmail.com> wrote:
> Hi Aris,
>
> se_term doesn't support loading from stdin. You don't need it in your case,
> run:
>
> ./se_term -query "load 'hamlet1.xml' 'hamlet1'" testdb
>
> Ivan Shcheklein,
> Sedna Team
>
>
> Hi All,
>>
>> I have tried to perform bulk load from stream explained in this manual
>> http://sedna.org/progguide/ProgGuidesu7.html#x13-500002.4 , but
>> failed.
>>
>> I use the xml sample from:
>> http://www.ibiblio.org/xml/examples/shakespeare/hamlet.xml
>>
>> This is the command I have used:
>>    cat hamlet.xml | se_term -query "LOAD STDIN 'hamlet1'" testdb
>>
>> After I run the command above, no error message raised nor success
>> messages. Then If I run this command to view the document:
>>    se_term -query "doc('hamlet1')" testdb
>>
>> This error raised:
>>    SEDNA Message: ERROR FODC0002
>>    Error retrieving resource.
>>    Details: Document 'hamlet1'
>>    Query line: 1, column:1
>>
>> Have anyone successfully load an xml document to sedna from stream?
>>
>> regards,
>> -aris
>>
>>
>> ------------------------------------------------------------------------------
>> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
>> infrastructure or vast IT resources to deliver seamless, secure access to
>> virtual desktops. With this all-in-one solution, easily deploy virtual
>> desktops for less than the cost of PCs and save 60% on VDI infrastructure
>> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
>> _______________________________________________
>> Sedna-discussion mailing list
>> Sedna-discussion@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sedna-discussion
>>
>

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Sedna-discussion mailing list
Sedna-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to