Intermedia text search in XML document stored as CLOB
Suppose i store an XML document as clob
and i index it based on the tags ie
if i have the followind table
create table biodata (
resume_id number primary key,
content clob default empty_clob(),
applicant_id number references
applicants(id));
and i stores various resumes in the clob (content column ) as xml document ie
<experience_in_months> 22 </experience_in_months>
Now if i want all the resume_id that that have experiences_in_months >= 10
what would be the query that would fetch me this result?
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by voron:
We are storing data in XML format in an Oracle database (via CLOB). I can retrieve search results using the 'within' phrase, but am finding it hard to order them. Is there a utility or command I can use?<HR></BLOCKQUOTE>
Maybe you should write a stored procedure (function )
that extracts the section from your clob
that should be sorted. Then use this function
in the ORDER clause of your select statement.
Andreas
null
Similar Messages
-
Keyword search over XML documents
there are many open source native XML databases,and search engines that support XQuery and XPath and many of them also support full text search.
such as:
1- TPOX
2- Timber
3- DBXML
4 - http://exist.sourceforge.net/kwic.html [http://exist.sourceforge.net/kwic.html]
5- http://www.inf.uni-konstanz.de/dbis/basex/ [http://www.inf.uni-konstanz.de/dbis/basex/]
6- http://xqengine.sourceforge.net/ [http://xqengine.sourceforge.net/]
7- Lucene
But, could you please tell me what is the alternative open source systems for the following closed systems (XRANK is a Ranked keyword search over XML documents on http://www.cs.cornell.edu/~cbotev/XRank.pdf ) and (XSeek is A Semantic XML Search Engine Using Keywords on http://xseek.asu.edu/xseekdemo.pdf )
I posted the question on http://stackoverflow.com/questions/2921379/is-there-any-open-source-system-for-keyword-search-on-xml-documents and I have got good information , but I think some people on this forum may have more information.
thanks.Well, there is a workaround to search in the xml. Open xml in FF, open the page source (Ctrl + U) and search in it.
-
The size of a XML document stored in a XMLType table
Is there a way to find out (via SQL) the size of a XML document stored in a XMLType table or XMLType column (storage OR based)?
For instance in the way you could it retrieve if the XML document was stored in an XMLType column (CLOB based)
SQL> r
1 select dbms_lob.getlength(t.gegevens.getclobval()) "SIZE"
2 from hgo.hgo010_detam t
3* where rownum < 2
SIZE
2750Is there a way to find out (via SQL) the size of a XML document stored in a XMLType table or XMLType column (storage OR based)?
For instance in the way you could it retrieve if the XML document was stored in an XMLType column (CLOB based)
SQL> r
1 select dbms_lob.getlength(t.gegevens.getclobval()) "SIZE"
2 from hgo.hgo010_detam t
3* where rownum < 2
SIZE
2750 -
Read xml-structure from a xml-document stored in a xmltype-column?
Hello,
I have several xml-documents stored in a table with a xmltype-column.
Is it possible to read the structure of one xml-document? I need to know what data are exists in the xml-documents.
I had read some hours here, but I dont find a suitable solution for that.
To make a example, what I need:
I have stored the following xml-document in the table:
<?xml version = '1.0'?>
<ROWSET>
<ROW num="6">
<EMPLOYEE_ID>105</EMPLOYEE_ID>
<FIRST_NAME>David</FIRST_NAME>
<LAST_NAME>Austin</LAST_NAME>
<EMAIL>DAUSTIN</EMAIL>
<PHONE_NUMBER>590.423.4569</PHONE_NUMBER>
<HIRE_DATE>6/25/1997 0:0:0</HIRE_DATE>
<JOB_ID>IT_PROG</JOB_ID>
<SALARY>4800</SALARY>
<MANAGER_ID>103</MANAGER_ID>
<DEPARTMENT_ID>60</DEPARTMENT_ID>
</ROW>
</ROWSET>
I need to return the following:
ROWSET
...ROW
......EMPLOYEE NUMBER
......FIRST_NAME VARCHAR2
......DEPARTMENT_ID NUMBER
Regards,
MarkHi,
I was on a wrong way. The datatype is not stored in xml, this was a mistake from me.
I needed something to printout some values from a xml-file. This xml-file was generated bei MS Excel. The data are in /Workbook/Worksheet/Table/Cell and I didnt know how to access it.
I write for that the following:
DECLARE
v_xml XMLType;
v_doc dbms_xmldom.DOMDocument;
v_node dbms_xmldom.DOMNode;
type t_values is table of varchar2(2000) index by binary_integer;
v_values t_values;
type t_table is table of t_values index by binary_integer;
v_table t_table;
procedure node_output (v_node in out dbms_xmldom.DOMNode)
is
v_nodelist1 DBMS_XMLDOM.DOMNodeList;
v_nodelist2 DBMS_XMLDOM.DOMNodeList;
v_anzahlnodes number;
v_anzahlrows number;
v_node_c dbms_xmldom.DOMNode;
v_xmlmitarbeiterid number;
begin
v_nodelist1 := dbms_xmldom.GETCHILDNODES(v_node);
v_anzahlrows := DBMS_XMLDOM.GETLENGTH(v_nodelist1);
if v_anzahlrows = 0 or DBMS_XMLDOM.GETNODENAME(v_node) = 'Table'
then
if v_anzahlrows > 0
then
for i1 in 0..v_anzahlrows - 1
loop
v_node := dbms_xmldom.Item(v_nodelist1,i1);
v_nodelist2 := dbms_xmldom.GETCHILDNODES(v_node);
v_anzahlnodes := DBMS_XMLDOM.GETLENGTH(v_nodelist2);
for i2 in 0..v_anzahlnodes - 1
loop
v_node := dbms_xmldom.Item(v_nodelist2,i2);
v_node_c := dbms_xmldom.GETFIRSTCHILD(v_node);
v_node_c := dbms_xmldom.GETFIRSTCHILD(v_node_c);
v_values(i2) := DBMS_XMLDOM.GETNODEVALUE(v_node_c);
end loop;
v_table(i1) := v_values;
end loop;
for i1 in 1..v_anzahlrows - 1
loop
select SEQ_XMLMITARBEITER.nextval into v_xmlmitarbeiterid from dual;
for i2 in 1..v_table(i1).count - 1
loop
dbms_output.put_line(v_table(i1)(i2));
end loop;
end loop;
end if;
else
v_node := dbms_xmldom.GETFIRSTCHILD(v_node);
for i in 0..v_anzahlrows - 1
loop
v_node := dbms_xmldom.Item(v_nodelist1,i);
node_output(v_node);
end loop;
end if;
end;
BEGIN
select inhalt into v_xml FROM xmlimport WHERE name = 'F23973/mitarbeiter.xml';
v_doc := dbms_xmldom.newDOMDocument(v_xml);
v_node:= dbms_xmldom.makeNode(dbms_xmldom.getDocumentElement(v_doc));
node_output(v_node);
END;
This gives me all data from a xml-Excel-file. Is there a better way to do that? I have Oracle 10.2.
Regards,
Mark -
Update XML data stored in CLOB Column
Hi All,
i am new to Oracle and new to SQL
i am trying to update XML data stored in CLOB cloumn,data is stored with the follwoing format
<attrs><attr name="name"><string>Schade</string></attr></attrs>
i am using the following query for updating the value
UPDATE PRODUCT p SET ATTRIBUTES_nl_nl=UPDATEXML(XMLTYPE.createXML(ATTRIBUTES_nl_nl),'/attrs/attr[@name="name"]/string/text()','Schade').getClobVal() WHERE p.sku='000000000000040576_200911-5010057'
this query is working fine but it changing the data to the following format
<attrs><attr name="name">Schade</attr></attrs>
some how it is ommiting the <string> tag from it, i am unable to figure it out whats the reason.
any help in this regard will b e much appriciated
Thanks in Advance
-UmeshHi,
You should have created your own thread for this, and included database version.
This works for me on 11.2.0.2 and 10.2.0.5 :
SQL> create table t_org ( xml_clob clob );
Table created
SQL>
SQL> insert into t_org
2 values(
3 '<Message>
4 <Entity>
5 <ASSIGNMENT>
6 <OAVendorLocation> </OAVendorLocation>
7 <Vendorid>1</Vendorid>
8 </ASSIGNMENT>
9 </Entity>
10 </Message>'
11 );
1 row inserted
SQL> commit;
Commit complete
SQL> select '*' ||
2 extractvalue(xmltype(xml_clob),'/Message/Entity/ASSIGNMENT/OAVendorLocation')
3 || '*' as result
4 from t_org;
RESULT
SQL> update t_org set xml_clob =
2 updatexml(xmltype(xml_clob),
3 '/Message/Entity/ASSIGNMENT/OAVendorLocation/text()','LONDON').getClobVal()
4 ;
1 row updated
SQL> select '*' ||
2 extractvalue(xmltype(xml_clob),'/Message/Entity/ASSIGNMENT/OAVendorLocation')
3 || '*' as result
4 from t_org;
RESULT
*LONDON*
Does the OAVendorLocation really have a whitespace value?
If not then it's expected behaviour, you're trying to update a text() node that doesn't exist. In this case, the solution is to use appendChildXML to create the text() node, or update the whole element.
Is it your real document? Do you actually have some namespaces? -
How to read XML data stored in CLOB in Concurrent prog Output
Hi All,
I'm trying to Generate the XML Data as concurrent Program output. I have a PL/SQL package which generated the XML data by using SQL/XML functions. I'm storing the generated XML data in a CLOB variable. But when i try to read the data using fnd_file.put_line(fnd_file.OUTPUT,XML_Data) it doesn't display data more than 32767 bytes.
Please help me out to understand what could be done to read the data in chunks. I have tried many logic's to print chunks of data but the output tags are either chopped off and errors out saying Tag not found.
My logic is as below:
v_handler:= DBMS_XMLGEN.newContext(v_xml_query);
--Sets NULL handling options
DBMS_XMLGen.SetNullHandling(v_handler, dbms_xmlgen.EMPTY_TAG ) ;
--Set special character handling
DBMS_XMLGEN.setConvertSpecialChars(v_handler, TRUE);
-- Specified whether to use an XML attribute to indicate NULLness of particular entity in the XML document
DBMS_XMLGen.useNullAttributeIndicator(v_handler,TRUE);
-- set Checking invalid chars
DBMS_XMLGEN.setCheckInvalidChars(v_handler, TRUE);
-- get the xml data as required
v_xml_data:= DBMS_XMLGEN.getXMLtype(v_handler);
SELECT XMLROOT(v_xml_data.extract('/*'),VERSION '1.0').getClobVal() into v_new_xml_Data from dual;
-- get the length of the xml generated
v_clob_len := dbms_lob.getlength(v_new_xml_Data);
FND_FILE.PUT_LINE(FND_FILE.LOG,'The Clob length is :'|| v_clob_len);
-- logic to process string more than 32767 Processing by each character
v_offset :=1;
while (v_offset <= v_clob_len)
LOOP
v_char := dbms_lob.substr(v_new_xml_Data, 1, v_offset);
IF (v_char = CHR(10))
then
fnd_file.new_line(fnd_file.output, 1);
else
fnd_file.put(fnd_file.output, v_char);
end if;
v_offset := v_offset + 1;
END LOOP;
FND_FILE.PUT_LINE(FND_FILE.LOG,'The offset is :'|| v_offset);
FND_FILE.NEW_LINE(FND_FILE.OUTPUT, 1);
THe above logic is for character by character which is a performance burden? Please let me know if there is any other work around for thisHi,
Thanks for Replying. I have refered http://blog.oraclecontractors.com/?p=69 and then i added that piece of code. Basically, i'm trying to generate a report using XML publisher. To generate the XML data i'm writing a pl/sql package with SQl/XML functions. DBMS_XMLGEN would help me convert the XML Data as is. When the concurrent program runs this XML data will merge with RTF layout and generate required report. I'm able to generate the Report for data less then 32767 bytes. More than the limit i need to pass chunks of XML data to read as output. That's the reason i'm using fnd_file.output. But it reads only 32767 size at a time.
WHen i use the given logic, it works perfectly fine, but it loops for each character, for example if you have 30,000 characters it loops the same, which is peformance burden.
So i tried to write the logic of chunks but still i get the error that XML tag is not found or missing. I'm hoping this is very common issue, but after all my trails, i didn't find the right solution.
the other logic i tried was :
v_new_xml_data varchar2(32767)
v_iterations := CEIL(v_clob_len/v_chunk_length); -- v_chunk_length is 32767 and v_clob_length is length of the XML data stored inthe clob variable
For i in 0..v_iterations
LOOP
FND_FILE.put_line (fnd_file.log,'the loops v_pos :'||i||' and v_clob_length :'||v_clob_len);
v_new_xml_data := DBMS_LOB.SUBSTR ( V_XML_DATA,v_chunk_length,(i*v_chunk_length)+1);
FND_FILE.PUT_LINE (FND_FILE.OUTPUT,v_new_xml_data); -- read the output for every 32767 chunks
FND_FILE.PUT_LINE(FND_FILE.LOG, 'Chunk length is :'||((i*v_chunk_length)+1));
END LOOP;
FND_FILE.put_line (fnd_file.log,'out of loop');
FND_FILE.put_line (fnd_file.log,'length of new xml is '||v_clob_len);
Please, let me know if you need Further clarifications on the same. -
Getting xml document out from clob
Hi All,
How could we get the xml document according to the user queries if we store the xml document as it is to the clob.
Can I use the XSU to store the xml document to the clob and retrieve xml from the clob according to user queries.Is it possible?
How could intermedia help me in solving this problem.
Thanks in advance
Dinu Varghese.
nullOTN has some sample apps that might interest you:
[list]
[*]Customizing Web Content
[*]B2B with XML
[list]
Regards,
-rh -
Full text search with XML input in Oracle
Hi,
I need to develope a web application which can do full text search for a library. We will use XML as the input data format and stored XML file in Oracle. How can I do full text search to the XML according todifferent tags or elements. e.g search from title or from article.
Do not only convert XML to Ascii and do the full text search. It should utilize the XML tag and structure.
InterMedia text in 8i or Oracle text in 9i? Or any other toolkit?
Thanks a lot
JackPlease refer to Oracle Text documentation
-
InterMedia Text Search results
We have interMedia Text enabled on our 3.0.9.8.2 install and, for Search Results, I need to understand how the percentage score is calculated and, if results have the same score, how the order is determined. Is it possible to reorder the results because it appears to be random? Can anyone point me to the relevant documentation?
So Stephen, if I understand correctly, you have URL items, where the URL references the content in the IFS repository. This means that these items are being indexed by the WWSBR_URL_CTX_INDX. It'd be interesting to see if the results are returned as you would expect them to be using this index alone. This will tell you if there is a problem with Intermedia Text or if the problem lies with the way that Portal is using Intermedia Text and combining the scores from the multiple indexes.
Try running a SQL query like
select i.title, score(10) scr from wwv_things i, wwsbr_url$ u
where i.id=u.object_id
and contains (u.absolute_url,'${oracle}',10) > 0
order by scr desc
This will match your search term against only text which was indexed by the URL index and returns the display name of the corresponding item. Here I've searched for the term 'oracle'; change this to whatever you were using in your testcase. Note also that the $ implies the stem operator which is used by default in Portal.
If this query doesn't return you the scores that you were expecting then the problem is to do with the way that Intermedia Text is indexing your PDF documents. If it does return what you'd expect then we need to look more closely at what Portal is doing with the scores. -
Intermedia text search error for file system
I would like to search a text from a file. store in the file system. I have done the following procedures but when i create i get error.
BEGIN
CTX_DDL.CREATE_PREFERENCE('search_docroot_pref','FILE_DATASTORE');
CTX_DDL.SET_ATTRIBUTE('search_docroot_pref','path','c:/temp/abc');
END;
Now when i create INDEX with following syntex
CREATE INDEX mysearch_ind ON mytable(mycolumn) INDEXTYPE IS
CTXSYS.context parameters('datastore search_docroot_pref');
I get the following errors.
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: interMedia Text error:
DRG-50704: Net8 listener is not running or cannot start external procedures
ORA-28575: unable to open RPC connection to external procedure agent
ORA-06512: at "CTXSYS.DRUE", line 126
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 54
ORA-06512: at line 1
Can any body tell me where i am wrong.
Thanks,Hi
I was aslo facing same problem.My net8 connection and listner is aslo ok. but getting same errors.
Raju -
Storing a portion of XML document as a CLOB
Here is an example of what I am trying to do:
<ROWSET>
<ROW>
<COLUMN1>123</COLUMN1>
<COLUMN2>456</COLUMN2>
<COLUMN3>
<PARAMETERS>
<PARAMETER1>1</PARAMETER1>
<PARAMETER2>2</PARAMETER2>
</PARAMETERS>
</COLUMN3>
</ROW>
</ROWSET>
There is a table with 3 columns (column1 VARCHAR2, column2 VARCHAR2, column3 CLOB). I'd like to put everything enlosed in COLUMN3 tag in "column3" db column which is a CLOB, i.e. without any formating. Does anyone have suggestions on how to accomplish this? Currenly the CLOB column remains empty (?) with other columns getting the data and there are no errors and I am setting the "CLOB" column for update.
thanks,
vadimSeems like I am replying to my own questions here. I thought storing a portion of XML document in as a clob was something many people had done or would be doing. In any case, the solution I found is to comment out the block that needs to be stored. In the example above, everything under COLUMN3 element should be surrounded by <!-- ... --> tags. One can add these using XSL. Even though it works, it has a taste of a hack and I would appreciate comments about the right way to accomplish my task.
Thanks,
vadim -
Trying to Insert an XML Element into XML data stored in CLOB column
Hi all,
My ORACLE DB version is:
('Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production');
('PL/SQL Release 11.2.0.2.0 - Production');
('CORE 11.2.0.2.0 Production');
('TNS for Linux: Version 11.2.0.2.0 - Production');
('NLSRTL Version 11.2.0.2.0 - Production');
I have this XML data stored in a CLOB column:
<Activity>
<Changes>
</Changes>
<Inserts>
</Inserts>
<Definition>
</Definition>
<Assignment TYPE="Apply">
</Assignment>
<Spawned>
<Activity>576D8CD9-57A1-8608-1563-8F6DC74BDF3C</Activity>
<Activity>11226E79-5D24-02EB-A950-D34A9CCFB3FF</Activity>
<Activity>DAA68DC0-CA9A-BB15-DE31-9596E19513EE</Activity>
<Activity>93F667D6-966A-7EAD-9B70-630D9BEFDDD2</Activity>
<Activity>FA63D9D3-86BB-3FF0-BE69-17EAA7581637</Activity>
</Spawned>
<SpawnedBy>AFC49BD4-5AA7-38C0-AE27-F59D16EE1B1C</SpawnedBy>
</Activity>
I am in need of some assistance in creating an update that will insert another <Activity>SomeGUID</Activity> into the <Spawned> parent.
Any help is greatly appreciated.
Thanks.
Edited by: 943783 on Dec 14, 2012 12:58 PMSee XML updating functions : http://docs.oracle.com/cd/E11882_01/appdev.112/e23094/xdb04cre.htm#i1032611
For example :
UPDATE my_table t
SET t.my_clob =
XMLSerialize(document
insertChildXML(
XMLParse(document t.my_clob)
, '/Activity/Spawned'
, 'Activity'
, XMLElement("Activity", 'Some GUID')
WHERE ...
;Although it works, there's overhead introduced by parsing the CLOB, then serializing again.
Is there any chance you can change the CLOB to SECUREFILE binary XMLType storage instead?
You would then be able to benefit from optimized piecewise update of the XML and improved storage. -
Form or form on report to update XML tagS stored in CLOB field.
I would like to create a form or a form on a report
where i can update xml tags. The xml data is stored in a CLOB field.
sample CLOB DATA
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'>
<preferences EXTERNAL_XML_VERSION="1.0">
<root type="user">
<map />
<node name="com">
<map />
<node name="mynode">
<map />
<node name="utils">
<map />
<node name="properties">
<map>
<entry key="Save" value="ON" />
<entry key="TM_PORT" value="55555" />
<entry key="TM_PORT2" value="7777" />
<entry key="SubID" value="all" />
<entry key="UserDBUsr" value="myuser" />
<entry key="JMS_JDBC" value="OFF" />
<entry key="Side" value="BUY" />
<entry key="HEALTH_MONITOR_CRITICAL_DISK_SPACE" value="500" />
<entry key="HEALTH_MONITOR_WARNING_DISK_SPACE" value="750" />
<entry key="HEALTH_MONITOR_PERIOD" value="600000" />
</map>
</node>
</node>
</node>
</node>
</root>
</preferences>
the goal is to have a form where i can view and update the "value" of following:
TM_PORT
TM_PORT2
SubID
UserDBUsr
JMS_JDBC
Side
HEALTH_MONITOR_CRITICAL_DISK_SPACE
HEALTH_MONITOR_WARNING_DISK_SPACE
HEALTH_MONITOR_PERIOD
I have searched around this forum but could not find an example.
it would be cool if I could also load the an xml file into the clob.
Thank you.Hi,
I think you just study first the topics about XML DB to understand how to manupulate xml data in the database.
See:
http://www.oracle.com/technology/tech/xml/xmldb/index.html
and
XML DB
Regards,
Cafer -
My Task is To Parse a XML Document to Return CLOB's
Hi folks
I am writing this mail in the hope of getting a help.Please
give me a shoulder to keep me going.
The task is to parse a XML document for a specific Tag and
read the Tag content in CLOB to return CLOB.
I know that the writetoclob will do the job as
per oracle documentation.
I am giving the code where i got stuck.
Please help me complete my rest of coding.
Thanks
Input variables are
XMLin in CLOB, -- Incoming XML Document Structure
Partype in varchar2, -- Tagname
Result out CLOB -- Return Tag value CLOB data type.
My Code : -
Declare
p xmlparser.parser;
d xmldom.DOMDocument;
e xmldom.DOMElement;
nl xmldom.DOMNodeList;
n xmldom.DOMNode;
tagvalue varchar2(255);
paramsIn Clob;
result CLOB;
BEGIN
--loading SecXML
dbms_lob.createtemporary(paramsIn,true);
dbms_lob.append(paramsIn,XMLin);
--dbms_output.put_line('ParsebyTag ='||Partype);
--defining parser
p := xmlparser.newparser;
xmlparser.parseClob(p,paramsIn);
d := xmlparser.getDocument(p);
--get tagvalue
nl := xmldom.getElementsByTagName(d,partype);
n := xmldom.item(nl,0);
IF xmldom.getlength (nl) > 0
THEN
n := xmldom.item (nl, 0);
=>=>=> => xmldom.writetoclob (n, result); <=<=<=<=<=<=====
END IF;
return; -- from a procedure
The above line marked with a arrow does not work for CLOB Variables.
Please explain with a corrected code to complete this task.
Thanks for reading my request.
Please reply to this message poster as i am frequently
checking this to see a answer.
my email is [email protected]
Balaji.First, you have 2 variables with the same name,
Second, let me show you what is that you need to do:
PROCEDURE WriteDataToClob(XMLin in CLOB, Partype in varchar2, Result out CLOB) IS
Declare
p xmlparser.parser;
d xmldom.DOMDocument;
e xmldom.DOMElement;
nl xmldom.DOMNodeList;
n xmldom.DOMNode;
tagvalue varchar2(255);
TempClob Clob;
BEGIN
--Create a temporary clob
dbms_lob.createtemporary(TempClob,true);
--loading SecXML
--defining parser
p := xmlparser.newparser;
xmlparser.parseClob(p,XMLin);
d := xmlparser.getDocument(p);
--get tagvalue
nl := xmldom.getElementsByTagName(d,partype);
n := xmldom.item(nl,0);
IF xmldom.getlength (nl) > 0 THEN
n := xmldom.item (nl, 0);
xmldom.writetoclob (n, TempClob );
END IF;
Result := TempClob;
dbms_lob.FreeTemporary(TempClob);
END; -
Searching TEXT String in a document stored in BLOB Column
Hi,
I fairly new to this concept of Oracle iText. I would like to get the atmost procedural approach to meet the following scenario.
I have a table with 3 columns (viz. id,name, content) of which content is a BLOB datatype. I have stored a simple .doc file in this column. (Just one row has been stored into this table ). I am aware that this document contains my search word say 'TOPIC'.
These are the following steps i did to get my soln but didnt meet my expected result.
1. Inserted the row into the table ..... successful
2. Tried to do a simple select (using contains)after creating context index....no rows selected
3. Tried to create preference (DIRECT_PREFERENCE) and create an index using this PREFERENCE and do the select for the search string......no rows selected
It would b great if u would let me know, how can i retrive the doc info ie. atleast the id,name from the database if i get a matched search string in the table.
Regards
KevinWhen you index BLOBs (or RAW, or file) the product assumes that you have some kind of
binary data -- like Microsoft Word or something like that. It then automatically
engages the INSO filter.
In your case, if I understand correctly, you have text data stored in a blob.
So INSO filtering is not appropriate. So you will want to tell the product not to
use INSO:
create index ...
parameters ('filter ctxsys.null_filter');
try that...
Maybe you are looking for
-
User must have done something to add a strange Protocol on server
I have an older Mac OS X Panther Server that I only use for file sharing with AFP, FTP and Windows Workgroup. I was watching the protocols that it was running with another piece of hardware and saw that this server was running Skype. I do not underst
-
i am using itunes version 9.its not updating..Pls help as how can i update my itunes to the latest version??????
-
Best practices for network design on WLC 2504 and 5508
Dear all: I'm looking for some recommendations on WLC 2504 and 5508 about the the following: Maximum amount of AP per port The scenario when to use all ports in both WLC Maximum number of clients(users) per port Bandwidth comsumption of management v
-
How to Install Windows 8 on (some) unsupported Macs
Open finder Open Applications folder Open Utilities folder Right click on Boot Camp Assisstant > Get info Click the Lock in the bottom right corner and enter Admin password Click the plus in the left corner and add your user. Give yourself Read & Wri
-
Apple TV display on standatd 4:3 Analog TV?
I've been considering the Apple TV not for video but for my music library. I currently use a Roku Soundbridge which works great but has no TV interface for browsing and selecting songs. I've heard that Apple TV does not have a 4:3 setting, so I assum