Storing Documents (Word, .PDF, etc) & Searching Across & Within
Can any one direct me to a document or resource that describes
how configure document storage (Word, .PDFs, etc.) and searching
capabilities across the indexing - meta data, and/or within the
documents for key words or phrases. Any feedback is greatly
appreciated. We have a database that stores several medical
documents in different formats and we want to provide the
doctors and nurses that ability to key word search above and
within these documents for different subjects they are
interested in. This is obviously possible, just look at the
searching technique on this site (technet, intermedia, etc.).
If you have any other suggestions for these requirements they
would also be greatly appretiated. Thank you very much.
Can any one direct me to a document or resource that describes
how configure document storage (Word, .PDFs, etc.) and searching
capabilities across the indexing - meta data, and/or within the
documents for key words or phrases. Any feedback is greatly
appreciated. We have a database that stores several medical
documents in different formats and we want to provide the
doctors and nurses that ability to key word search above and
within these documents for different subjects they are
interested in. This is obviously possible, just look at the
searching technique on this site (technet, intermedia, etc.).
If you have any other suggestions for these requirements they
would also be greatly appretiated. Thank you very much. Look at the online documentation:
technet.oracle.com -> products -> Oracle Text
Start reading with 8.1.5.
Regards,
Thomas
Similar Messages
-
Hi, I have a problem with filtering binary documents (.doc, .pdf, etc...). I use SQL*PLUS for remote access to Oracle 10.2 on Linux and I create table:
CREATE TABLE test (id NUMBER PRIMARY KEY, text VARCHAR2(100));
I insert to this table:
INSERT into test values(1, 'PATH/text1.doc‘);
INSERT into test values(2,'PATH/text2.doc‘);
and then:
CREATE INDEX test_index ON test(text) indextype is ctxsys.context
parameters (’datastore ctxsys.file_datastore
filter ctxsys.auto_filter’);
Message "Index created" is displayed, but objects: DR$test_index$I, DR$test_index$K, DR$test_index$N, DR$test_index$R and DR$test_index$P are empty => index wasn´t created probably.
I don´t know, where is bug, either bug is somewhere in this code or on the server (wrong installation oracle or constraint privileges). Do you know in what is bug?The following is an excerpt from the 10g online documentation. Note the items that I have put in bold.
"FILE_DATASTORE
The FILE_DATASTORE type is used for text stored in files accessed through the local file system.
Note:
FILE_DATASTORE may not work with certain types of remote mounted file systems.
FILE_DATASTORE has the following attribute(s):
Table 2-4 FILE_DATASTORE Attributes
Attribute Attribute Value
path path1:path2:pathn
path
Specify the full directory path name of the files stored externally in a file system. When you specify the full directory path as such, you need only include file names in your text column.
You can specify multiple paths for path, with each path separated by a colon (:) on UNIX and semicolon(;) on Windows. File names are stored in the text column in the text table.
If you do not specify a path for external files with this attribute, Oracle Text requires that the path be included in the file names stored in the text column.
PATH Attribute Limitations
The PATH attribute has the following limitations:
If you specify a PATH attribute, you can only use a simple filename in the indexed column. You cannot combine the PATH attribute with a path as part of the filename. If the files exist in multiple folders or directories, you must leave the PATH attribute unset, and include the full file name, with PATH, in the indexed column.
On Windows systems, the files must be located on a local drive. They cannot be on a remote drive, whether the remote drive is mapped to a local drive letter."
With accessible paths and files, you get something like:
SCOTT@orcl_11g> CREATE TABLE test (id NUMBER PRIMARY KEY, text VARCHAR2(100));
Table created.
SCOTT@orcl_11g>
SCOTT@orcl_11g>
SCOTT@orcl_11g> INSERT into test values(1,'c:\oracle11g\banana.pdf');
1 row created.
SCOTT@orcl_11g> INSERT into test values(2,'c:\oracle11g\cranberry.pdf');
1 row created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> CREATE INDEX test_index ON test(text) indextype is ctxsys.context
2 parameters ('datastore ctxsys.file_datastore
3 filter ctxsys.auto_filter');
Index created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> select count(*) from dr$test_index$i
2 /
COUNT(*)
608
SCOTT@orcl_11g> In the following, I used a non-existent path and non-existent file name, which produces the same results as when you use a remote path that does not exist locally.
SCOTT@orcl_11g> CREATE TABLE test (id NUMBER PRIMARY KEY, text VARCHAR2(100));
Table created.
SCOTT@orcl_11g>
SCOTT@orcl_11g>
SCOTT@orcl_11g> INSERT into test values(3,'c:\nosuchpath\nosuchfile.pdf');
1 row created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> CREATE INDEX test_index ON test(text) indextype is ctxsys.context
2 parameters ('datastore ctxsys.file_datastore
3 filter ctxsys.auto_filter');
Index created.
SCOTT@orcl_11g>
SCOTT@orcl_11g> select count(*) from dr$test_index$i
2 /
COUNT(*)
0
SCOTT@orcl_11g> -
how do I locate non picture files and location? I'm getting low memory and can't find word,PDF etc
iPads don't have a filesystem like a computer, Files of that nature must be associated with an App and reside inside that particular App's file space. So the way to find them is to open the App that opens that file type and look in its file or document list for them.
-
When I try to click on a link to a document within a website, that document doesn't open like it should. For instance, if I go to the census website and click on a link to open an excel spreadsheet, Firefox doesn't do it. It usually does nothing; if I tell it to open in a new window or tab, it just opens a tab labeled "untitled" that ends up being a blank page.
== This happened ==
Every time Firefox opened
== 2 months ago?Go to Tools->Options->Apps
Here you should see two columns: Content Type on the left, Actions on the right.
Find and select excel spreadsheet or any other content type in the left column. There should be a corresponding action in the right column. What is it? You can use the drop-down list to select the option you want:
Always Ask - Firefox will ask each time: What do you want to do with this file?
Save file - Firefox will save this file to your computer
Use - Firefox will give this file to the program to open it
In case of saving, Firefox will either prompt you every time where you want the file to be saved, or save it to the default location. It depends on the preference in
Tools->Options->General->Download -
the download option in general is not working, not able to browse the folder for downloading.
.using windows 7Perform the suggestions mentioned in the following articles:
* [https://support.mozilla.com/en-US/kb/Template:clearCookiesCache Clear Cookies & Cache]
* [[How to clear the cache#w_clear-the-cache|Clear the Network Cache]]
* Start Firefox in -> [[Safe Mode]] to check if your add-ons/extension are causing the problems.
* Also see this article -> [[Troubleshooting extensions and themes]]
Check and tell if you are able to download a file while using Firefox -> [[Safe Mode]]. -
Storing documents like pdf format in database? use inter media object?
Hi,
Is there a way to store documents,for example in pdf format, using oracle inter media? or is there another control that can be used? I'm working with Jdeveloper9.0.3 and have recently started using juimagecontrol to store images and it is working great.then i tried using inter media control to store the images,but with no success,but i read up on inter media and there is an object type ordDoc,and wondered if that could be used to store documents.
Thanks in advance,
CarlCarl,
Yes, you can use OrdDoc type to store PDF files. However, the interMedia control, OrdMediaControl, doesn't support displaying PDF content. If you plan to write JSP apps to retreive the PDF content to browser, the browser can invoke PDF viewer app if it's properly configured.
Richard -
Bonjour
je cherche à savoir comment poser un document, une page web, un élément pdf ou tout autre document sur un email de telle façon que celui-ci soit visible directement à l'ouverture par le destinataire du mail (comme on peut en recevoir maintenant souvent ).Je pense que vous parlez d'une signature faite au format HTML et contenant une image et non simplement d'une image glissée en bas d'un message qui contiendrait plusieurs zones de liens.
Vous parlez "d'image map" ou de zones cliquables. Dans ce cas, oui, il est possible d'avoir plusieurs liens sur une même image, mais ces zones et ces liens sont définis dans un code HTML qui se charge d'afficher l'image et les zones cliquables. -
OS X 10.9.5 file downloading and attaching issues
Download Ex. There are many documents I need to access on my school website. Prior to upgrade, after double clicking doc, it would just open on my screen. Now when I double click, I visually see the dowload icon drop from item I'm trying to open to my downloads icon. I then have to click on the downloads icon which pulls up all recent downloads, then have to click on the one I want to open.
When trying to attach file to email - whether work or personal email - I click the paper clip icon and nothing happens. I make additional attempts and nothing happens. -
Hi Experts,
We are implementing PLM Customer Collaboration in our Clients' system. Now If ECL viewer is installed in someone's machine, he or she can use Use ECL viewer functionality in cFolders like redlining in the drawing etc.
Now Problem is that though I am providing the Customer Collaboration through web to be used by customers, they can't use the redlining functionality. But, we can't go to every customer's machine & install the ECL viewer in their machine. Do we have any other alternative in SAP to get the redlining functionality without having ECL Viewer installed in local PC.
regards,
SoumenHi Soumen,
..Do we have any other alternative in SAP to get the redlining functionality without having ECL Viewer installed in local PC...
I doubt if there are any other options!! At best,what you could do is to enable the WebEx feature in cFolders,setup a meeting with your external partners and do the markup/redlining.
Regards,
Pradeepkumar Haragoldavar -
I currently use a Lenovo T61P
i use Gateway NV56. scrolling works everywhere including FF 3.6 but not in 4.
I just gave up and rolled back to 3.6.
Did all that I could find on the forum update driver//turn off add ons//change config stuff.
FF4 is really awesome to look at and use but this is a major deal breaker for me. anyone anyone find a solution for this.... :( -
I have transferred word files form my PC to my new Mac Book Pro. Some of the word files are feint and will not open as you cant select them. Also you cant delete them either because the cursor wont highlight or select them. Any ideas anyone?
Have you tried looking at the file in list view in the Finder and seeing if they actually occupy any space? i.e. "Size"? There shouldn't be any problem with Office documents, Adobe pdfs, etc. If they migrated properly - did you use Migration Assistant or some similar utility?
Regards,
Clinton -
Sorry to bother you all but I have a situation I can't find a solution for:
on a MBP 2009, running Mac OS X 10.6.8 and MS Office 2008 (up to date), if I open a local stored document AND the unit is connected to the network everything works fine.
As soon as I switch off the network connection and I open a local stored document Word freezes and within "Force quit..." I can see that Word is no longer responding. A few minutes later OS X quits Word and that's it.
I already checked Safe boot, removing the Microsoft plist's and reinstalling MS Office 2008 including all available updates but the situation is still the same.
Any ideas?
Thanks in advance
RobertTry setting up another admin user account to see if the same problem continues. If Back-to-My Mac is selected in System Preferences, the Guest account will not work. The intent is to see if it is specific to one account or a system wide problem. This account can be deleted later.
Isolating an issue by using another user account -
Storing MS Word, MS Excel, PDF, etc in DB and retrieving through WebForms
Hi,
We have an application that requires storing MS Word, MS Excel,
PDF and HTML docs. We're planning on storing these documents in
a table as BLOB's with a column in the table that would indicate
the MIME type for the document. We need to be able to retrieve
these documents using the WebForms application we created. The
user would prefer to view a Word document in MS Word, an Excel
document in MS Excel, and so on. As of now there is no
requirement for searching within these documents, all we have to
do is retrieve them from the db and display them to the client.
Keep in mind this is a web based app, developed with Forms6i, we
would like to give the user the ability to press a button and
have the document displayed in the appropriate program.
I've searched for examples for this type of situation and have
been unsuccessful. But after reading about Oracle Text it
sounds like this could be what I'm looking for, minus the search
capability that is. Am I looking in the right place? Is it
possible to accomplish the requirements described above using
Oracle Text? If not where should I be looking.
Any help, info or even better sample code on this would be
greatly appreciated.
Thanks in advance,
Jeff ButlerJeff,
I'm not familiar with WebForms so I will only comment about
Oracle Text.
You can use Oracle Text to store, index, and search documents in
different types of formats (HTML, XML, MS Office, PDF, etc.).
Oracle Text also provides document services like a markup version
of a document, highlighting, themes, and other linguistic
features.
Take a look at the OTN page for some sample code
http://otn.oracle.com/sample_code/products/text/content.html
Hi,
We have an application that requires storing MS Word, MS Excel,
PDF and HTML docs. We're planning on storing these documents in
a table as BLOB's with a column in the table that would indicate
the MIME type for the document. We need to be able to retrieve
these documents using the WebForms application we created. The
user would prefer to view a Word document in MS Word, an Excel
document in MS Excel, and so on. As of now there is no
requirement for searching within these documents, all we have to
do is retrieve them from the db and display them to the client.
Keep in mind this is a web based app, developed with Forms6i, we
would like to give the user the ability to press a button and
have the document displayed in the appropriate program.
I've searched for examples for this type of situation and have
been unsuccessful. But after reading about Oracle Text it
sounds like this could be what I'm looking for, minus the search
capability that is. Am I looking in the right place? Is it
possible to accomplish the requirements described above using
Oracle Text? If not where should I be looking.
Any help, info or even better sample code on this would be
greatly appreciated.
Thanks in advance,
Jeff Butler -
Storing MS-Word and PDF documents in database uploaded through APEX
I want to allow users to upload MS-Word and PDF documents they have created / edited outside of the APEX app for storage in the database along with the other app data.
I know that I should use a file browse item in a region for this purpose.
I have a some questions:
1. What database datatype is best for storing MS-Word and PDF docs? CLOB?
2. How can the user see that the file has been uploaded? In other words, how can they see that the filename has been uploaded? I want to show this on the page for later viewing. I have uploaded a document, but later, I have no way to see that the document has in fact been uploaded. From the APEX page, the file browse item does not indicate whether or not a file has previously been uploaded.
3. How can the user download the previously uploaded document?
4. Is there a way to give users the capability to edit a document in an APEX app where they can do MS-Word-like editing (font size, font type, bold, italics, etc.)?
I know I've asked a lot here and I appreciate your input.
-ReidIn my case, I am uploading screenshots of my application and then displaying them. You can feel free to use it if you want, the code was mostly taken from examples of file uploads posted by others. Here is some code to get you started:
File Table description
CREATE TABLE FILE_UPLOAD
(name VARCHAR2(4000) PRIMARY KEY,
subject VARCHAR2(4000),
id NUMBER,
blob_content BLOB,
mime_type VARCHAR2(4000),
PAGE_ID NUMBER);File Upload Procedure
IF ( :P20_FILE_NAME is not null ) THEN
INSERT INTO FILE_UPLOAD (id, NAME, SUBJECT, BLOB_CONTENT, MIME_TYPE, PAGE_ID)
SELECT ID,:P20_FILE_NAME,:P20_SUBJECT, blob_content, mime_type, :P20_PAGE_ID
FROM APEX_APPLICATION_FILES
WHERE name = :P20_FILE_NAME;
DELETE from APEX_APPLICATION_FILES WHERE name = :P20_FILE_NAME;
END IF;Download Image Procedure Definition
CREATE OR REPLACE PROCEDURE download_my_file(p_file in number) AS
v_mime VARCHAR2(48);
v_length NUMBER;
v_file_name VARCHAR2(2000);
Lob_loc BLOB;
BEGIN
SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
INTO v_mime,lob_loc,v_file_name,v_length
FROM FILE_UPLOAD
WHERE id = p_file;
-- set up HTTP header
-- use an NVL around the mime type and
-- if it is a null set it to application/octect
-- application/octect may launch a download window from windows
owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
-- set the size so the browser knows how much to download
htp.p('Content-length: ' || v_length);
-- the filename will be used by the browser if the users does a save as
htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
-- close the headers
owa_util.http_header_close;
-- download the BLOB
wpg_docload.download_file( Lob_loc );
end download_my_file;
/make sure to grant the procedure rights for use by anyone
GRANT EXECUTE ON download_my_file TO PUBLICDisplay Image Procedure Definition
create or replace PROCEDURE "DISPLAY_IMAGE"
inID NUMBER
AS
vMIME VARCHAR2(48);
vLENGTH NUMBER;
vFILENAME VARCHAR2(2000);
vBLOB BLOB;
BEGIN
SELECT MIME_TYPE, BLOB_CONTENT, NAME, DBMS_LOB.GETLENGTH(BLOB_CONTENT)
INTO vMIME, vBLOB, vFILENAME, vLENGTH
FROM FILE_UPLOAD
WHERE ID = inID;
owa_util.mime_header(nvl(vMIME, 'application/octet'), FALSE);
htp.p('Content-length: ' || vLENGTH);
owa_util.http_header_close;
wpg_docload.download_file(vBLOB);
END;
/Again, make sure everyone has rights to execute the procedure.
GRANT EXECUTE ON DISPLAY_IMAGE TO PUBLICThis doesn't create an editor inside the browser, it just creates a simple upload/display process. For a WYSIWYG editor that handles PDF or Docs, you'll need something far more sophisticated, and I can't suggest anything there. -
How to upload documents( like word, excel, pdf etc) into r/3 system
Hi All,
Does anyone have information on uploading and downloading documents like word, excel,pdf etc into R/3 system. Is there any function modules, classes, programs etc to do this.
To give an example about what i mean by uploading documents, we can take the process of attaching documents in support of a SLM issue in solution manager.Hi Syed,
Use the FM gui_upload to upload a file from presentation server and gui_download to download file to presentation server. see the code below and also read the documentation of the respective FM's.
data:
lw_file type string, " File Path
lw_file1 type IBIPPARMS-PATH. " File Path
CALL FUNCTION 'F4_FILENAME'
IMPORTING
FILE_NAME = lw_file1.
lw_file = lw_file1.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = lw_file
FILETYPE = 'ASC'
HAS_FIELD_SEPARATOR = 'X'
tables
data_tab = t_kna1
EXCEPTIONS
FILE_OPEN_ERROR = 1
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. " IF SY-SUBRC <> 0
data:
lw_file type string, " File Path
lw_file1 type IBIPPARMS-PATH. " File Path
CALL FUNCTION 'F4_FILENAME'
IMPORTING
FILE_NAME = lw_file1.
lw_file = lw_file1.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
FILENAME = lw_file
FILETYPE = 'ASC'
* APPEND = ' '
WRITE_FIELD_SEPARATOR = 'X'
* HEADER = '00'
TABLES
DATA_TAB = t_KNA1
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. " IF SY-SUBRC <> 0
IF SY-SUBRC = 0.
message 'file downloaded successfully' type 'S'.
ENDIF. " IF SY-SUBRC = 0
With luck,
Pritam.
Maybe you are looking for
-
Posting a document using RFBIBL00
Hi, I want to post certain details using this program. I have populated the three structures: BGR00, BBKPF(header data) and BBSEG(line item data). The session gets opened but is terminated while reading the header data strucure. It gives this error:
-
Question Lost my iCloud password on my iPad1. How can I restore it ?
-
Urgent: Mailing text files
I have currently written a stored procedure which calculates bills and saves them in a separate text file for each user/customer. I want to automatically mail them to each user. Their email address will be stored in the database. Can any one help me
-
I've run into a problem trying to figure out how to place a link within my first spry tab, to my second spry tab on the same page. The reasons for doing this are allowing my users to click to go onto the next tab of a product matrix or what have you
-
Copy Planning Plant to Sort field in Maintenance Plan
Hi All, Is there any User Exit User exit is available to Copy Planning Plant to Sort field in Maintenance Plan. Regds Vinit