Re: [External] : Load binary file (eg. PDF, word, ...) into collection using SODA

Christopher Jones <[email protected]> Tue, 23 Feb 2021 22:13:56 +1100
Newsgroups gmane.comp.python.db.cx-oracle
Message-ID <[email protected]>
--===============0442556147039335358==
Content-Type: multipart/alternative;
 boundary="------------8B9180F180964569F8197AC3"
Content-Language: en-US

--------------8B9180F180964569F8197AC3
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit


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


--------------8B9180F180964569F8197AC3
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 23/2/21 9:26 pm, Giuseppe Difalco
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:CA+hUxjQ3_18XL4u3MOQbq6_THtgmecfE=AwW2RDewKsghbad3A-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org">
      
      <div dir="ltr">
        <div>Hi all,<br>
          I want to kindly ask you if is possible to load binary file
          like PDF, doc, ... &nbsp; 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="color: rgb(64, 64, 64); font-family: Lato,
          proxima-nova, &quot;Helvetica Neue&quot;, Arial, sans-serif;
          font-size: 16px; font-style: normal; font-variant-ligatures:
          normal; font-variant-caps: normal; font-weight: 400;
          letter-spacing: normal; orphans: 2; text-align: start;
          text-indent: 0px; text-transform: none; white-space: normal;
          widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
          background-color: rgb(252, 252, 252);
          text-decoration-thickness: initial; text-decoration-style:
          initial; text-decoration-color: initial; display: inline
          !important; float: none;">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.&nbsp;
      Please include the Oracle DB and Oracle Client library versions.<br>
    </p>
    <p>Chris</p>
    <p>[1]
      <a class="moz-txt-link-freetext" href="https://cx-oracle.readthedocs.io/en/latest/user_guide/soda.html">https://cx-oracle.readthedocs.io/en/latest/user_guide/soda.html</a><br>
    </p>
    <p>[2] <a class="moz-txt-link-freetext" href="https://github.com/oracle/python-cx_Oracle/issues">https://github.com/oracle/python-cx_Oracle/issues</a><br>
    </p>
    <p>-- </p>
    <pre class="moz-signature" cols="150"><a class="moz-txt-link-freetext" href="https://twitter.com/ghrd">https://twitter.com/ghrd</a>
</pre>
  </body>
</html>

--------------8B9180F180964569F8197AC3--


--===============0442556147039335358==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============0442556147039335358==
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

--===============0442556147039335358==--