Home » Server Options » Text & interMedia » setting document Path in file system document store
setting document Path in file system document store [message #128677] Wed, 20 July 2005 02:00 Go to next message
khroner
Messages: 11
Registered: June 2005
Junior Member
hi,

Is it possible to have the basic path defined in
ctx_ddl.set_attribute, and all the subfolders in the
basic path defined in along with the document name
in the database.

for eg:

begin
ctx_ddl.create_preference('docname','FILE_DATASTORE');
ctx_ddl.set_attribute('docname','PATH','c:\temp\');
end;
/

In the table (mydocs)
mydocid doc_name
1 loc1\test.doc
2 loc2\recs.Pdf
3 loc1\oracle9i.doc

It should now take the path as
c:\temp\loc1\test.doc


Database: ORacle 9i windows.

thanx.

cheers
sam

Re: setting document Path in file system document store [message #128695 is a reply to message #128677] Wed, 20 July 2005 03:21 Go to previous messageGo to next message
khroner
Messages: 11
Registered: June 2005
Junior Member
hi,

one more point to the above.

Is it possbile to just give the path as c:\temp\
and all the sub folders under it are searched.

thanx

cheers
sam
Re: setting document Path in file system document store [message #129070 is a reply to message #128695] Thu, 21 July 2005 17:55 Go to previous message
Barbara Boehmer
Messages: 8004
Registered: November 2002
Location: California, USA
Senior Member
As far as I know, you either have to specify all of the paths using ctx_ddl.set_attribute with only the file names in your mydocs.doc_name or don't use the ctx_ddl.set_attribute and provide the full paths in your mydocs.doc_name.

Previous Topic: Proximity search Performance Oracle or JAVA
Next Topic: DataStore FTP
Goto Forum:
  


Current Time: Thu Nov 20 17:46:26 CST 2014

Total time taken to generate the page: 0.13437 seconds