Re: [External] : Load binary file (eg. PDF, word, ...) into collection using SODA
Giuseppe Difalco <[email protected]> Tue, 23 Feb 2021 12:39:50 +0100
| Newsgroups | gmane.comp.python.db.cx-oracle |
|---|---|
| Message-ID | <CA+hUxjQxiHYE8M8xBd6gyy5yQB8PoETGyCVSsHav3t2yGt7vxw@mail.gmail.com> |
--===============7735136382286120231== Content-Type: multipart/alternative; boundary="000000000000cba5c305bbff60e1" --000000000000cba5c305bbff60e1 Content-Type: text/plain; charset="UTF-8" Hi Christopher. Thank you for feedback. I opened an Issue as per your suggestion ( https://github.com/oracle/python-cx_Oracle/issues/542). Regards. Giuseppe. Il giorno mar 23 feb 2021 alle ore 12:14 Christopher Jones < [email protected]> ha scritto: > > On 23/2/21 9:26 pm, Giuseppe Difalco wrote: > > Hi all, > I want to kindly ask you if is possible to load binary file like PDF, doc, > ... into a collection using SODA features. > If yes, please, can you provide an example?In addtion, is it possible to > execute textual search on these binary files using SEARCH INDEX? > > Thanks in advance. > > Reagards. > > > It's possible to store binary data. From [1]: > > Documents are generally JSON data but they can be any data at all > (including video, images, sounds, or other binary content). > > If you open an issue on GitHub [2], I will tag the SODA expert who should > be able to point you at the best metadata to use when creating your > collection, and who can comment on searching. Please include the Oracle DB > and Oracle Client library versions. > > Chris > > [1] https://cx-oracle.readthedocs.io/en/latest/user_guide/soda.html > > [2] https://github.com/oracle/python-cx_Oracle/issues > > -- > > https://twitter.com/ghrd > > --000000000000cba5c305bbff60e1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi Christopher.<div>Thank you for feedback.</div><div>I op= ened an Issue as per your suggestion (<a href=3D"https://github.com/oracle/= python-cx_Oracle/issues/542">https://github.com/oracle/python-cx_Oracle/iss= ues/542</a>).</div><div><br></div><div>Regards.</div><div>Giuseppe.</div><d= iv><br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D= "gmail_attr">Il giorno mar 23 feb 2021 alle ore 12:14 Christopher Jones <= ;<a href=3D"mailto:[email protected]">[email protected]= om</a>> ha scritto:<br></div><blockquote class=3D"gmail_quote" style=3D"= margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-lef= t:1ex"> =20 <div> <p><br> </p> <div>On 23/2/21 9:26 pm, Giuseppe Difalco wrote:<br> </div> <blockquote type=3D"cite"> =20 <div dir=3D"ltr"> <div>Hi all,<br> I want to kindly ask you if is possible to load binary file like PDF, doc, ... =C2=A0 into a collection using SODA features.<= br> If yes, please, can you provide an example?In addtion, is it possible to execute textual search on these binary files using SEARCH INDEX?<br> <br> Thanks in advance.<br> <br> Reagards.<br> </div> </div> </blockquote> <p><br> </p> <p>It's possible to store binary data. From [1]:</p> <blockquote> <p><span style=3D"color:rgb(64,64,64);font-family:Lato,proxima-nova,&= quot;Helvetica Neue",Arial,sans-serif;font-size:16px;font-style:normal= ;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;let= ter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;whi= te-space:normal;word-spacing:0px;background-color:rgb(252,252,252);text-dec= oration-style:initial;text-decoration-color:initial;float:none;display:inli= ne">Documents are generally JSON data but they can be any data at all (including video, images, sounds, or other binary content).<span> <br> </span></span></p> </blockquote> <p> If you open an issue on GitHub [2], I will tag the SODA expert who should be able to point you at the best metadata to use when creating your collection, and who can comment on searching.=C2=A0 Please include the Oracle DB and Oracle Client library versions.<br> </p> <p>Chris</p> <p>[1] <a href=3D"https://cx-oracle.readthedocs.io/en/latest/user_guide/soda= .html" target=3D"_blank">https://cx-oracle.readthedocs.io/en/latest/user_gu= ide/soda.html</a><br> </p> <p>[2] <a href=3D"https://github.com/oracle/python-cx_Oracle/issues" ta= rget=3D"_blank">https://github.com/oracle/python-cx_Oracle/issues</a><br> </p> <p>-- </p> <pre cols=3D"150"><a href=3D"https://twitter.com/ghrd" target=3D"_blank= ">https://twitter.com/ghrd</a> </pre> </div> </blockquote></div> --000000000000cba5c305bbff60e1-- --===============7735136382286120231== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7735136382286120231== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ cx-oracle-users mailing list cx-oracle-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/cx-oracle-users --===============7735136382286120231==--