Sequences used within Oracle TExt
Are there any sequences that are used by Oracle Text which might benefit from increasing the cache_size?
Regards
Hi,
IDGEN1$ is not only used for indexing, but for more general cases in Oracle. There is bug 7694580, which is solved in 11.2. Simply stated, if the sequence cache size is 20, then you may increase the value to 1000. This is not only applicable for RAC, but for all large systems. So indeed it is allowed to increase the value (as user SYS):
alter sequence sys.IDGEN1$ cache 1000;Herald ten Dam
http://htendam.wordpress.com
Similar Messages
-
How to use all oracle text features under ifs?
i'd like to know that is possible to use a oracle text features like a Theme Capabilities to do a classification when documents its incoming.....
You will probably need to use dynamic SQL.
See the discussion at:
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:53140567326263
(while the question deals with SQLX, the answer is the same - Pro*C can't parse all SQL, but dynamic SQL is not parsed by Pro*C) -
Using of Oracle Text functions not working in JDev
Hi,
I'm confused about using Oracle Text functions in JDeveloper.
It's not possible for me to pass the sql syntax test while creating a view object with a custom query:
SELECT score (1) myScore,
dokumente.titel,
ctx_doc.snippet ('idx_dokumente_titel',
TO_CHAR (dokumente.dkt_id),
'searchstring'
) snippet
FROM dokumente
WHERE contains (titel, 'searchstring', 1) > 0;
I retrieve "ORA-00911: invalid character" for the contains-function.
(Using this statement in sql-worksheet works.)
Any ideas?Hi william,
Yes you need code abap to maintein your data. look at <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/2f/696d360856e808e10000009b38f839/frameset.htm">Business Data Toolset</a>, in the part of Dialog.
Regards.
Manuel -
Oracle Text query: Escaping characters and specifying progression sequences
How can I combine the escaping of a search string and the specification of progression sequences within an oracle text query
so that in all cases the correct results are delivered (see example below)?
The scenario in which to use this is the following:
+ Database: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0
+ Requirement: Hitlist of results ordered by score whereby the different part within
the result list are specified using progression sequences within oracle text query
Example:
create table service_provider (
id number,
name_c varchar(100),
uri_c varchar(255)
insert into service_provider values (1,'ABB Company Mgmt','http://www.abb-company-mgmt.de');
insert into service_provider values (2,'Dr. Abbas Ming','http://www.dr-abbas-ming.de');
insert into service_provider values (3,'SABBATA United','http://www.sabbata-united.de');
insert into service_provider values (4,'ABB','http://www.abb.de');
insert into service_provider values (5,'AND Company Mgmt','http://www.and-company-mgmt.de');
insert into service_provider values (6,'Dr. Andas Ming','http://www.dr-andas-ming.de');
insert into service_provider values (7,'SANDATA United','http://www.sandata-united.de');
insert into service_provider values (8,'AND','http://www.and.de');
Query 1: works correctly in this case
select * from (
select /*+ FIRST_ROWS */ score(1), this_.*
from service_provider this_
where
CONTAINS ( this_.NAME_C , '<QUERY><textquery grammar="CONTEXT">' ||
'<progression>' ||
'<seq>abb</seq>' ||
'<seq>abb%</seq>' ||
'<seq>%abb%</seq>' ||
'<seq>fuzzy(abb,1,100,WEIGHT)</seq>' ||
'</progression></textquery></QUERY>', 1 ) > 0
order by score(1) desc, this_.NAME_C
) where rownum < 21
delivers
76 4 ABB http://www.abb.de
76 1 ABB Company Mgmt http://www.abb-company-mgmt.de
51 2 Dr. Abbas Ming http://www.dr-abbas-ming.de
26 3 SABBATA United http://www.sabbata-united.de
Query 2: procudes error
select * from (
select /*+ FIRST_ROWS */ score(1), this_.*
from service_provider this_
where
CONTAINS ( this_.NAME_C , '<QUERY><textquery grammar="CONTEXT">' ||
'<progression>' ||
'<seq>and</seq>' ||
'<seq>and%</seq>' ||
'<seq>%and%</seq>' ||
'<seq>fuzzy(and,1,100,WEIGHT)</seq>' ||
'</progression></textquery></QUERY>', 1 ) > 0
order by score(1) desc, this_.NAME_C
) where rownum < 21
produces ORA-29902, ORA-20000, DRG-50901 because AND is a reserved word in oracle text
So we need escaping ...
Query 3: does not work correctly
select * from (
select /*+ FIRST_ROWS */ score(1), this_.*
from service_provider this_
where
CONTAINS ( this_.NAME_C , '<QUERY><textquery grammar="CONTEXT">' ||
'<progression>' ||
'<seq>{abb}</seq>' ||
'<seq>{abb%}</seq>' ||
'<seq>{%abb%}</seq>' ||
'<seq>fuzzy({abb},1,100,WEIGHT)</seq>' ||
'</progression></textquery></QUERY>', 1 ) > 0
order by score(1) desc, this_.NAME_C
) where rownum < 21
delivers
76 4 ABB http://www.abb.de
76 1 ABB Company Mgmt http://www.abb-company-mgmt.de
Query 4: does not produce an error, but also does not work correctly
select * from (
select /*+ FIRST_ROWS */ score(1), this_.*
from service_provider this_
where
CONTAINS ( this_.NAME_C , '<QUERY><textquery grammar="CONTEXT">' ||
'<progression>' ||
'<seq>{and}</seq>' ||
'<seq>{and%}</seq>' ||
'<seq>{%and%}</seq>' ||
'<seq>fuzzy({and},1,100,WEIGHT)</seq>' ||
'</progression></textquery></QUERY>', 1 ) > 0
order by score(1) desc, this_.NAME_C
) where rownum < 21
delivers
76 8 AND http://www.and.de
76 5 AND Company Mgmt http://www.and-company-mgmt.deAnywhere that you just use the word by itself, enclose it in {}, but anywhere that you add % on either side or both don't enclose it in {}. Please see the demonstration below.
SCOTT@10gXE> SELECT * FROM v$version
2 /
BANNER
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
SCOTT@10gXE> create table service_provider
2 (id number,
3 name_c varchar(100),
4 uri_c varchar(255))
5 /
Table created.
SCOTT@10gXE> insert all
2 into service_provider values (1,'ABB Company Mgmt','http://www.abb-company-mgmt.de')
3 into service_provider values (2,'Dr. Abbas Ming','http://www.dr-abbas-ming.de')
4 into service_provider values (3,'SABBATA United','http://www.sabbata-united.de')
5 into service_provider values (4,'ABB','http://www.abb.de')
6 into service_provider values (5,'AND Company Mgmt','http://www.and-company-mgmt.de')
7 into service_provider values (6,'Dr. Andas Ming','http://www.dr-andas-ming.de')
8 into service_provider values (7,'SANDATA United','http://www.sandata-united.de')
9 into service_provider values (8,'AND','http://www.and.de')
10 into service_provider values (9,'EBB','fuzzy test')
11 into service_provider values (10,'OND','fuzzy test')
12 select * from dual
13 /
10 rows created.
SCOTT@10gXE> CREATE INDEX your_index
2 ON service_provider (name_c)
3 INDEXTYPE IS CTXSYS.CONTEXT
4 PARAMETERS ('STOPLIST CTXSYS.EMPTY_STOPLIST')
5 /
Index created.
SCOTT@10gXE> VARIABLE search_string VARCHAR2 (100)
SCOTT@10gXE> EXEC :search_string := 'abb'
PL/SQL procedure successfully completed.
SCOTT@10gXE> COLUMN name_c FORMAT A20 WORD_WRAPPED
SCOTT@10gXE> COLUMN uri_c FORMAT A40
SCOTT@10gXE> select *
2 from (select /*+ FIRST_ROWS */ score(1), this_.*
3 from service_provider this_
4 where CONTAINS
5 (this_.NAME_C ,
6 '<QUERY>
7 <textquery grammar="CONTEXT">
8 <progression>
9 <seq>{' || :search_string || '}</seq>
10 <seq>' || :search_string || '%</seq>
11 <seq>%' || :search_string || '%</seq>
12 <seq>fuzzy({' || :search_string || '},1,100,WEIGHT)</seq>
13 </progression>
14 </textquery>
15 </QUERY>', 1 ) > 0
16 order by score(1) desc, this_.NAME_C)
17 where rownum < 21
18 /
SCORE(1) ID NAME_C URI_C
76 4 ABB http://www.abb.de
76 1 ABB Company Mgmt http://www.abb-company-mgmt.de
51 2 Dr. Abbas Ming http://www.dr-abbas-ming.de
26 3 SABBATA United http://www.sabbata-united.de
4 9 EBB fuzzy test
SCOTT@10gXE> EXEC :search_string := 'and'
PL/SQL procedure successfully completed.
SCOTT@10gXE> /
SCORE(1) ID NAME_C URI_C
76 8 AND http://www.and.de
76 5 AND Company Mgmt http://www.and-company-mgmt.de
51 6 Dr. Andas Ming http://www.dr-andas-ming.de
26 7 SANDATA United http://www.sandata-united.de
5 10 OND fuzzy test
SCOTT@10gXE> -
Product Search Using Oracle Text or By Any Other Methods using PL/SQL
Hi All,
I have requirement for product search using the product table which has around 5 million products. I Need to show top 100 disitnct products searched in the following order
1. = ProductDescription
2. ProductDescription_%
3. %_ProductDescription_%
4. %_ProductDescription
5. ProductDescription%
6. %ProductDescription
Where '_' is space. If first two/three/or any criteria itslef gives me 100 records then i need not search for another patterns
Table Structure Is as follows
Create Table Tbl_Product_Lookup
Barcode_number Varchar2(9),
Product_Description Varchar2(200),
Product_Start_Date Date,
Product_End_Date Date,
Product_Price Number(12,4)
Could you please help me implementing this one ? SLA for the search result is 2 seconds
Thanks,
VarunYou could use an Oracle Text context index with a wordlist to speed up substring searches and return all rows that match any of your criteria, combined with a case statement to provide a ranking that can be ordered by within an inner query, then use rownum to limit the rows in an outer query. You could also use the first_rows(n) hint to speed up the return of limited rows. Please see the demonstration below. If you decide to use Oracle Text, you may want to ask further questions in the Oracle Text sub-forum on this forum or space or whatever they call it now.
SCOTT@orcl_11gR2> -- table:
SCOTT@orcl_11gR2> Create Table Tbl_Product_Lookup
2 (
3 Barcode_number Varchar2(9),
4 Product_Description Varchar2(200),
5 Product_Start_Date Date,
6 Product_End_Date Date,
7 Product_Price Number(12,4)
8 )
9 /
Table created.
SCOTT@orcl_11gR2> -- sample data:
SCOTT@orcl_11gR2> insert all
2 into tbl_product_lookup (product_description) values ('test product')
3 into tbl_product_lookup (product_description) values ('test product and more')
4 into tbl_product_lookup (product_description) values ('another test product and more')
5 into tbl_product_lookup (product_description) values ('another test product')
6 into tbl_product_lookup (product_description) values ('test products')
7 into tbl_product_lookup (product_description) values ('selftest product')
8 select * from dual
9 /
6 rows created.
SCOTT@orcl_11gR2> insert into tbl_product_lookup (product_description) select object_name from all_objects
2 /
75046 rows created.
SCOTT@orcl_11gR2> -- wordlist:
SCOTT@orcl_11gR2> begin
2 ctx_ddl.create_preference('mywordlist', 'BASIC_WORDLIST');
3 ctx_ddl.set_attribute('mywordlist','PREFIX_INDEX','TRUE');
4 ctx_ddl.set_attribute('mywordlist','PREFIX_MIN_LENGTH', '3');
5 ctx_ddl.set_attribute('mywordlist','PREFIX_MAX_LENGTH', '4');
6 ctx_ddl.set_attribute('mywordlist','SUBSTRING_INDEX', 'YES');
7 ctx_ddl.set_attribute('mywordlist', 'wildcard_maxterms', 0) ;
8 end;
9 /
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> -- context index that uses wordlist:
SCOTT@orcl_11gR2> create index prod_desc_text_idx
2 on tbl_product_lookup (product_description)
3 indextype is ctxsys.context
4 parameters ('wordlist mywordlist')
5 /
Index created.
SCOTT@orcl_11gR2> -- gather statistics:
SCOTT@orcl_11gR2> exec dbms_stats.gather_table_stats (user, 'TBL_PRODUCT_LOOKUP')
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> -- query:
SCOTT@orcl_11gR2> variable productdescription varchar2(100)
SCOTT@orcl_11gR2> exec :productdescription := 'test product'
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> column product_description format a45
SCOTT@orcl_11gR2> set autotrace on explain
SCOTT@orcl_11gR2> set timing on
SCOTT@orcl_11gR2> select /*+ FIRST_ROWS(100) */ *
2 from (select /*+ FIRST_ROWS(100) */ distinct
3 case when product_description = :productdescription then 1
4 when product_description like :productdescription || ' %' then 2
5 when product_description like '% ' || :productdescription || ' %' then 3
6 when product_description like '% ' || :productdescription then 4
7 when product_description like :productdescription || '%' then 5
8 when product_description like '%' || :productdescription then 6
9 end as ranking,
10 product_description
11 from tbl_product_lookup
12 where contains (product_description, '%' || :productdescription || '%') > 0
13 order by ranking)
14 where rownum <= 100
15 /
RANKING PRODUCT_DESCRIPTION
1 test product
2 test product and more
3 another test product and more
4 another test product
5 test products
6 selftest product
6 rows selected.
Elapsed: 00:00:00.10
Execution Plan
Plan hash value: 459057338
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
| 0 | SELECT STATEMENT | | 38 | 3990 | 13 (16)| 00:00:01 |
|* 1 | COUNT STOPKEY | | | | | |
| 2 | VIEW | | 38 | 3990 | 13 (16)| 00:00:01 |
|* 3 | SORT UNIQUE STOPKEY | | 38 | 988 | 12 (9)| 00:00:01 |
| 4 | TABLE ACCESS BY INDEX ROWID| TBL_PRODUCT_LOOKUP | 38 | 988 | 11 (0)| 00:00:01 |
|* 5 | DOMAIN INDEX | PROD_DESC_TEXT_IDX | | | 4 (0)| 00:00:01 |
Predicate Information (identified by operation id):
1 - filter(ROWNUM<=100)
3 - filter(ROWNUM<=100)
5 - access("CTXSYS"."CONTAINS"("PRODUCT_DESCRIPTION",'%'||:PRODUCTDESCRIPTION||'%')>0)
SCOTT@orcl_11gR2> -
SMB Server using Oracle Text Index
Hi folks,
I am looking into IFS and can't find any info
on whether IFS is able to use the Oracle Text
indexing, when accessed through SMB (directory mount).
If I search for a file containing a given string
is that search executed within IFS and only the
resultset returned to the client, or is every
file read from IFS delivered to the client,
searched there and then thrown away if it doesn't
contain the string (rendering the Text Index useless)?
Does anybody have background info / experience with this?
Regards
Jan-PeterHi folks,
I am looking into IFS and can't find any info
on whether IFS is able to use the Oracle Text
indexing, when accessed through SMB (directory mount).
If I search for a file containing a given string
is that search executed within IFS and only the
resultset returned to the client, or is every
file read from IFS delivered to the client,
searched there and then thrown away if it doesn't
contain the string (rendering the Text Index useless)?
Does anybody have background info / experience with this?
Regards
Jan-Peter To answer your question, it would help to have a little more context (pardon the pun). Are you trying to (1) understand how the 9iFS Windows UI uses Oracle Text, or (2) are you trying to write a client application that somehow uses the Text index on 9iFS content? -
Document management system using oracle text
i plan to create document management system using oracle text with following features
1) document comparision
2) document search
and more...
can oracle text be used to display documents of various formats by converting them to HTML. and can search keywords be highlighted in the document.
please help!Have you ever considered doing this in Oracle Application Express (free on top of the Oracle database)? How about something like:
http://download-west.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28839/up_dn_files.htm
Index the files using the CONTEXT index, and perhaps the docs' meta with it using the Oracle Text MULTI_COLUMN_DATASTORE, and then when you write your query for a report on the documents include a search string.
I've created a number of APEX-based document management systems and it is quite easy once you get the hang of using this environment. I suggest looking at some of the tutorials/how-to documents and you'll be on your way quickly.
Start with the upload application. Once you can get your documents in, create a report that shows everything except the document. Verify all of this works correctly.
Add some "items" to the page for the report, and include them as bind variables in the where clause.
After that, add your Oracle Text index to the database, and toss in a "text-field" item to the APEX page. Modify your report query, adding the CONTAINS clause, and use the newly created item as a bind variable. There's your keyword search.
Linking to Oracle Apps is done through API's and may be over database links.
Hope it helps. Though not a step-by-step how to document, this should point you in the right direction. Get familiar with APEX as that covers most of what you described.
-Ron -
Extracting an oracle text indextype
oracle version 10.2.0.5
I am working on an old legacy database that has a custom indextype used by oracle text. I am not sure how to extract it. Export does not get it. I tried using
dbms_metadata.get_ddl, I get object of type indextype not found in the schema. I am using the correct object and schema name. I found it in DBA_INDEXTYPES.
I am not sure how to issue a create indextype based on what I found in dba_indextypes
I cannot use data pump due to a bug that is version/platform/upgrade specific (not looking for help on this).
I have not used oracle text often and whenever I used it, I used the built in create indextype.What does DBA_OBJECTS say about that index?
:p -
When I use the oracle text search in UCM, I get an error:
!csUserEventMessage,Administrador,lgcucmlabdev1.cpd.edinfor.pt:16200!$!csSearchUnableToReturnResults
intradoc.common.ServiceException: !csSearchUnableToReturnResults
*ScriptStack GET_SEARCH_RESULTS
3:getSearchResults,**no captured values**
at intradoc.server.SearchManager.retrieveSearchInfoAsBinder(SearchManager.java:295)
at intradoc.server.SearchService.retrieveSearchInfo(SearchService.java:1846)
at intradoc.server.SearchService.doLocalSearch(SearchService.java:1376)
at intradoc.server.SearchService.getSearchResults(SearchService.java:670)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at intradoc.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:86)
at intradoc.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:310)
at intradoc.common.ClassHelperUtils.executeMethod(ClassHelperUtils.java:295)
at intradoc.server.Service.doCodeEx(Service.java:550)
at intradoc.server.Service.doCode(Service.java:505)
at intradoc.server.ServiceRequestImplementor.doAction(ServiceRequestImplementor.java:1643)
at intradoc.server.Service.doAction(Service.java:477)
at intradoc.server.ServiceRequestImplementor.doActions(ServiceRequestImplementor.java:1458)
at intradoc.server.Service.doActions(Service.java:472)
at intradoc.server.ServiceRequestImplementor.executeActions(ServiceRequestImplementor.java:1391)
at intradoc.server.Service.executeActions(Service.java:458)
at intradoc.server.ServiceRequestImplementor.doRequest(ServiceRequestImplementor.java:737)
at intradoc.server.Service.doRequest(Service.java:1890)
at intradoc.server.ServiceManager.processCommand(ServiceManager.java:435)
at intradoc.server.IdcServerThread.processRequest(IdcServerThread.java:265)
at intradoc.idcwls.IdcServletRequestUtils.doRequest(IdcServletRequestUtils.java:1343)
at intradoc.idcwls.IdcServletRequestUtils.processFilterEvent(IdcServletRequestUtils.java:1715)
at intradoc.idcwls.IdcIntegrateWrapper.processFilterEvent(IdcIntegrateWrapper.java:222)
at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at idcservlet.common.IdcMethodHolder.invokeMethod(IdcMethodHolder.java:87)
at idcservlet.common.ClassHelperUtils.executeMethodEx(ClassHelperUtils.java:305)
at idcservlet.common.ClassHelperUtils.executeMethodWithArgs(ClassHelperUtils.java:278)
at idcservlet.ServletUtils.executeContentServerIntegrateMethodOnConfig(ServletUtils.java:1600)
at idcservlet.IdcFilter.doFilter(IdcFilter.java:352)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Can anyone help me?
ThanksThe UCM forum is {forum:id=390}
John -
Running Oracle Text Manager w/o DBA
We've been using the Oracle Text KB and our own thesaurus to index documents on help.unc.edu for two years now. We upload the new thesaurus files with ctxload each time new terms need to be added. I have to ask my DBA to run it in the shell on the DB server. I'd really like to manage the thesaurus and KB directly using the "Oracle Text Manager" application. Can this be run without DBA privledges, by granting select privledges to some other user? Can it be run from a client instead of on the server itself?
Does anyone have recommendations in this regard?
Many thanks,
Greg Jansen
ITS Knowledge Management
UNC Chapel HillNo. You can still create and distribute profiles but not through a push solution. Look at MCX in WGM or even Apple Configurator and manually distribute.
If this is a lab with no internet, how much change management do you need? -
We need to use an Oracle Text index on an application table in a read-only materialised-view replicated environment. The Oracle Text index needs to exist at both the master site and the materialised-view site.
We see two possible alternatives:
(1) Replicate read-only copies of the Oracle Text Index tables and indexes to the materialised view site, in addition to replication of the application table.
or
(2) Replicate only the master application table and create local instances of the Oracle Text index at both the master and materialised view sites.
Which method is best? Any experience, advice or references that you can provide would be much appreciated.
Many thanks for your help,
PeterSee [url http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14226/repoverview.htm#i15730]Introduction to Advanced Replication, [url http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14229/strms_over.htm#i1006084] Introduction to Streams and [url http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14228/gen_rep.htm#i1007573]Understanding Streams Replication
-
Hi Expert,
how can i use the Oracle text to do searching with the XML documents?
as i shredded the xml documents into the SQL view already,
i cannot create index onto those views.
what can i do with the Oracle text search?
THX a lot~!
EdithHi Edith:
Oracle Text can index document in UTF8 or any other encoding supported by Oracle.
Assuming that your table is LRPAPER_XMLTYPE_TBL you can create a Text index with:
create index LRPAPER_XMLTYPE_TBL_idx on LRPAPER_XMLTYPE_TBL p (value(p)) indextype is ctxsys.context;If you have documents with different languages stored in the same table you has to find some scalar column to be used as discriminator value. In my example "lang" is an scalar column of type varchar2. See the annotated schema at:
http://www.dbprism.com.ar/xsd/document-v20-ann.xsd
This annotated schema creates these Oracle types:
SQL> desc "document"
Name Null? Type
SYS_XDBPD$ XDB.XDB$RAW_LIST_T
id VARCHAR2(4000 CHAR)
lang VARCHAR2(4000 CHAR)
header headerType
body CLOB
footer footerType
SQL> desc "headerType"
"headerType" is NOT FINAL
Name Null? Type
id VARCHAR2(4000 CHAR)
lang VARCHAR2(4000 CHAR)
title VARCHAR2(4000 CHAR)
subtitle VARCHAR2(4000 CHAR)
version versionType
type VARCHAR2(4000 CHAR)
authors authorsType
notice VARCHAR2(4000 CHAR)
abstract VARCHAR2(4000 CHAR)
meta metaListSo the syntax "XMLDATA"."lang" is referencing to the attribute (column) "lang" of the type document.
Best regards, Marcelo. -
Oracle Text - Compressed (ZIP) documents support
Is it possible for Oracle Text to index files of various formats like DOC, PDF, HTML compressed in the ZIP archives?
I have read some Oracle text documentation and it seems that this feature is not available out-the-box?
Does anyone have any idea how this functionality can be implemented?
I think USER_DATASTORE might be used for this, but this does not seem like a good way how to do it.
The second option is using a Oracle Text FILTER class. But the default INSO_FILTER does not support indexing of documents in ZIP packages according to my tests.
So far I was not able to find any other filters, which support this feature.
Regards.What version of oracle are you interested in?
11.1.0.7 (the latest) returns Oracle text to INSO filters for document processing, and in [Text Reference Section B.2.5|http://download.oracle.com/docs/cd/B28359_01/text.111/b28304/afilsupt.htm#g639477] (Archive File Format), ZIP files are supported. -
Oracle Text Classification/Clustering
Is anyone using the Oracle Text classification/clustering technology? I am working on a project where we are doing research on using this type of technology for our Oracle Text searches.
Thanks for your help. I will talk to the person I am working with to see if he thinks we can go this route. I know he is the one that is the contact person for the thesaurus. If I have any more questions, I'll post to this thread. It will be the first of next week before I can get with him.
Thanks,
--Sandra :-> -
I'm have an Oracle 10.2.0.2 database that was installed and configured by someone else on a RedHat machine. My background is in Geographic Information Systems, so this may seem like a very simple question.
I need to run a service that relies on Oracle Text. Is there any way to verify that Oracle Text is installed and running? The docs say that Text is installed by default, but I can't tell if it's running. I don't see a schema named CTXSYS.
The second question, I guess, is if Oracle Text is installed, how can I get it running?
Any help would be appreciated.
-BrendanOracle Text should be there by default. If the CTXSYS user does not exist, then either the database has been repeatedly upgraded from an early version where it was not a default, or someone has deliberately removed it. I'm not sure how you would go about reinstalling the CTXSYS user and schema, though it's certainly possible to do. I'd strongly suggest getting Oracle Support to talk you through the process.
Nothing needs to started, as such.
To check whether Oracle Text is installed and working, try this simple test:
create table x (y varchar2(2000));
insert into x values ('the quick brown fox');
create index xi on x(y) indextype is ctxsys.context;
select * from x where contains (y, 'fox') > 0;
For more advanced use of Oracle Text your user will need the CTXAPP role.
- Roger
Maybe you are looking for
-
Can not find "Work Folder" in windows server standard edition
Guys, I have a testing lab and all is working with the exception of the fact that I can not find "work Folder" to install it. I'm using windows server 2012 standard evaluation copy edition. Normally work folder should be under >file and storage ser
-
Automatic Clearing - Open Item GL Account
Dear Friends, We have created the Bank Clearing Account as an open item management account. The account would be credited while making the payment to the vendor thru automatic payment run and debited once the payment has been cleared from the Bank. W
-
I have a 1 TB drive that I access on my MacBook Pro via eSATA via an ExpressCard slot. After installing the 10.6.1 update and rebooting, my drive is no longer recognized. Because of the immediate result, I'm quick to point the finger at 10.6.1, thoug
-
Error: No first field of table index in where condition
I've got following errors while doing code inspector or extended syntax check: (Large table VEKP: No first field of table index in where condition). My code is like below as per as code-logic. What's the necessary changes to do to remove the above co
-
can we use the new MSS/ESS without the Portal? the new MSS/ESS are based on WebDynpro, and WebDynpro applications run as stand-alone J2EE applications. thanks in advance