Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: text
On 19 dec, 09:47, "sw" <a..._at_bb.com> wrote:
> Uzytkownik "Frank van Bortel" <frank.van.bor..._at_gmail.com> napisal w
> wiadomoscinews:fk962i$grj$1_at_news6.zwoll1.ov.home.nl...
> > Does this work? Never thought so.
>
>
>
>
>
> > I thought just the file datastore worked...
> > Like:
>
> > begin
> > ctx_ddl.create_preference('mypref', 'FILE_DATASTORE');
> > ctx_ddl.set_attribute('mypref', 'PATH', '/docs');
> > end;
>
> > But still, filenames should be in a table. Same example:
>
> > create table mytable(id number primary key, docs varchar2(2000));
> > insert into mytable values(111555,'first.txt');
> > insert into mytable values(111556,'second.txt');
> > commit;
>
> > Index creation would be:
> > create index myindex on mytable(docs)
> > indextype is ctxsys.context
> > parameters ('datastore mypref');
>
> > There's an example, just like this on
> >http://download.oracle.com/docs/cd/B10501_01/text.920/a96518/cdatadic...
> > --
> > Regards,
> > Frank van Bortel
>
> > Top-posting is one way to shut me up...
>
> Yes, it's works. On other machine (os is windows 2003 server) it's works
> well. But on linux I have this problem.
>
> Best regards,
> SW
Is oracle (the process that does theindexing) allowed to read the location?
Frank Received on Wed Dec 19 2007 - 08:22:19 CST
![]() |
![]() |