Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: text
Uzytkownik "Frank van Bortel" <frank.van.bortel_at_gmail.com> napisal w
wiadomosci news: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.htm#44618
> --
> 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
Received on Wed Dec 19 2007 - 02:47:04 CST
![]() |
![]() |