How to display tokens generated from submitted document?
Can someone please explain to me the columns located in the DR$<index_name>$I, $K $N $R tables?
What I would like to do is to be able to identify a recently added document and retrieve the tokens generated on that document. I am thinking I can extract this information from the above tables, except I do not understand clearly how they work.
The tokens are stored in dr$<index_name>$i.token_text. The rest of the information is either not of use for your purposes or is not easily accessible in blob columns. Your best bet is to add a date column to your table and populate it automatically with a trigger on insert or update. Then you can extract the tokens for each document and order them by that date column, as demonstrated below. You can limit that selection by date or rownum as you like.
SCOTT@10gXE> CREATE TABLE test_tab
2 (text_col VARCHAR2 (30),
3 date_col DATE)
4 /
Table created.
SCOTT@10gXE> CREATE OR REPLACE TRIGGER test_tab_biur
2 BEFORE INSERT OR UPDATE ON test_tab
3 FOR EACH ROW
4 BEGIN
5 :NEW.date_col := SYSDATE;
6 END test_tab_biur;
7 /
Trigger created.
SCOTT@10gXE> SHOW ERRORS
No errors.
SCOTT@10gXE> INSERT INTO test_tab (text_col) VALUES ('some test data')
2 /
1 row created.
SCOTT@10gXE> EXEC DBMS_LOCK.SLEEP (5)
PL/SQL procedure successfully completed.
SCOTT@10gXE> INSERT INTO test_tab (text_col) VALUES ('some other test data')
2 /
1 row created.
SCOTT@10gXE> EXEC DBMS_LOCK.SLEEP (5)
PL/SQL procedure successfully completed.
SCOTT@10gXE> INSERT INTO test_tab (text_col) VALUES ('some more test data')
2 /
1 row created.
SCOTT@10gXE> CREATE INDEX test_idx ON test_tab (text_col)
2 INDEXTYPE IS CTXSYS.CONTEXT
3 /
Index created.
SCOTT@10gXE> COLUMN token_text FORMAT A30
SCOTT@10gXE> BREAK ON date_col ON text_col SKIP 1
SCOTT@10gXE> SELECT t.date_col, t.text_col, i.token_text
2 FROM test_tab t, dr$test_idx$i i
3 WHERE CONTAINS (t.text_col, i.token_text) > 0
4 ORDER BY t.date_col DESC, t.text_col
5 /
DATE_COL TEXT_COL TOKEN_TEXT
25-MAY-2006 11:41:02 some more test data MORE
TEST
DATA
25-MAY-2006 11:40:57 some other test data TEST
OTHER
DATA
25-MAY-2006 11:40:52 some test data TEST
DATA
8 rows selected.
SCOTT@10gXE>
Similar Messages
-
How to display or generate PDF417 barcode dynamically in PDF form? I am using Acrobat XI Professional and there is a Bar Code Field in the same through which I generated the same. But I want to generate the same dynamically.
What do you mean by dynamically? When yo set up a 2D bar code field you specify which field name/value pairs you want to include, along with other parameters. But be aware that they won't work with Reader unless you Reader-enable the document with LiveCycle Reader Extensions and include the bar code usage right. It will work with Acrobat Standard/Pro.
-
How to copy a folder from one document library to another document library ?
How to copy a folder from one document library to another document library by programmtically?
Samarendra Swain
Team Sharepoint
www.manuhsolutions.comYou can use the SPFolder.CopyTo method.
public static void CopyFolder()
SPFolder folder = null;
using (SPSite site = new SPSite("http://basesmcdev2/sites/tester1"))
using (SPWeb web = site.OpenWeb())
folder = web.GetFolder("shared%20documents/newfolder");
folder.CopyTo("tester4/newfolder");
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfolder.copyto.aspx
certdev.com -
How to display multiple tables from database using netbeans swing gui
plz reply asap on how to display multiple tables from database using netbeans swing gui into the same project
Layered Pane with JTables or you can easily to it with a little scripting and HTML.
plzzzzzzzzzzzzzzzzz, do not use SMS speak when posting. -
How to display the data from database(MS access) to a textbox
anyone know ?
how to display the data from database(MS access) to a
textboxThe reply hasn't changed over these years. Read the tuutorial on how to fetch the data. You can display it anywhere you feel like. :)
http://java.sun.com/docs/books/tutorial/jdbc/ -
How to display retrieved data from DB on web page
Dear all,
how to display retrieved data from oracle database on web page,Does anyone can give me an simple example?
thanks
WJHi,
I use JRun tags but you can use Oracle tags or just JDBC... First u need to install jdbs connection and set e connection by using JMC (For JRun) named nomad.
U can also try the link below for JRun tags..
http://wds.its.uiowa.edu/cache/docs/jrun/html/JRun_Custom_Tag_Library/contents.htm
<%@ page import="java.sql.*,javax.sql.*,java.text.*,allaire.taglib.*" %>
<%@ taglib uri="jruntags" prefix="jrun" %>
<%@ page contentType="text/html; charset=ISO-8859-9" %>
<html>
<head>
<title> Test Page </title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
</head>
<body>
<BODY BGCOLOR="#FFFFFF" LEFTMARGIN=15 TOPMARGIN=20 >
<jrun:sql datasrc="nomad" id="q1">
select empno,
ename
from emp
order by ename
</jrun:sql>
<center>
<table border = 0 cellpadding = 3 cellspacing = 1>
<th>EmployeeNo</th><th>Name</th>
<jrun:param id="q1" type="QueryTable"/>
<jrun:foreach group="<%= q1 %>">
<tr>
<td> <%= q1.get(1) %> </td>
<td> <%= q1.get(2) %> </td>
</tr>
</jrun:foreach>
</table>
</center>
</body>
</html>
---------------------- -
How to display the MS word, powerpoint document in portal?
Hi,
How to display the MS word, powerpoint document in portal?
Regards,
MrChowdaryHi Chowdary,
I think, you can't do this using iview templates. But you can do this using portal component iview. For that, you have to write one java program which should read the contents of the input file and displays in the internet browser itself.
Regards,
Venkatesh. K
/* Points are Welcome */ -
How to display the content from a file stored in database
when i am trying to display the content from a file which stored in database on oracle report 10g
data are displaying as following. please help me to display the data in readable format
<HTML LANG="en-US" DIR="LTR">
<!-- Generated: 1/11/2006, postxslt.pl [1012] v1
Source: amsug304286.xml
File: amsug304286.htm
Context: nil
Tiers: ALWAYS
Pretrans: YES
Label: Release 12 -->
<HEAD>
<!-- $Header: amsug304286.htm 120.4 2006/11/01 20:57:29 appldev noship $ -->
<!--BOLOC ug1_OMPO1010302_TTL--><TITLE>Product Overview (ORACLE MARKETING)</TITLE><!--EOLOC ug1_OMPO1010302_TTL-->
<LINK REL="stylesheet" HREF="../fnd/iHelp.css">
</HEAD>
<BODY BGCOLOR="#F8F8F8">
<A NAME="T304286"></A><A NAME="ProdOve"></A>
<CENTER><H2><!--BOLOC ug1_OMPO1010302--><B>Product Overview</B><!--EOLOC ug1_OMPO1010302--></H2></CENTER>
<p><!--BOLOC ug1_OMPO1010304-->Oracle Marketing drives profit, not just responses, by intelligently marketing to the total customer/prospect base. By leveraging a single repository of customer information, you can better target and personalize your campaigns, and refine them in real time with powerful analytical tools.<!--EOLOC ug1_OMPO1010304--></p>
<p><!--BOLOC ug1_OMPO1006611-->With tools necessary to automate the planning, budgeting, execution, and tracking of your marketing initiatives, Oracle Marketing provides you with:<!--EOLOC ug1_OMPO1006611--></p>
<ul>
<li>
<p><!--BOLOC ug1_OMPO1006612--><B>Customer Insight</B> - With sophisticated customer management and list generation, Oracle Marketing enables you to quickly generate target lists and segments using an intuitive user interface. The easy to use Natural Query Language Builder (NLQB) lets you query for customers or prospects using a natural language while hiding data complexity; fatigue management ensures that you do not over-contact the same customers with marketing messages; and predictive analytics helps you predict customer behavior that you can leverage to produce significant increases in marketing return on investments (ROI).<!--EOLOC ug1_OMPO1006612--></p>
</li>
<li>
ls.<!--EOLOC ug1_OMPO1010304--></p>
<p><!--BOLOC ug1_OMPO1006611-->With tools necessary to automate the planning, budgeting, execution, and tracking of your marketing initiatives, Oracle Marketing provides you with:<!--EOLOC ug1_OMPO1006611--></p>
<ul>
<li>
<p><!--BOLOC ug1_OMPO1006612--><B>Customer Insight</B> - With sophisticated customer management and list generation, Oracle Marketing enables you to quickly generate target lists and segments using an intuitive user interface. The easy to use Natural Query Language Builder (NLQB) lets you query for customers or prospects using a natural language while hiding data complexity; fatigue management ensures that you do not over-contact the same customers with marketing messages; and predictive analytics helps you predict customer behavior that you can leverage to produce significant increases in marketing return on investments (ROI).<!--EOLOC ug1_OMPO1006612--></p>
</li>
<li>
<p><!--BOLOC ug1_OMPO1006613--><B>Sales Alignment</B> - Oracle Marketing's leads management helps you compile and distribute viable leads so that sales professionals can follow up valuable opportunities and not just contact interactions. Additionally, support for distributing proposals and marketing material drive speedy and consistent setups and collaboration of best practices.<!--EOLOC ug1_OMPO1006613--></p>
</li>
<li>
<p><!--BOLOC ug1_OMPO1006614--><B>Marketing Insight</B> - While Oracle Marketing Home page reports and Daily Business Intelligence (DBI) for Marketing and Sales provide aggregated management level information in almost real time, operational metrics help in tracking the effectiveness of individual marketing activities.<!--EOLOC ug1_OMPO1006614--></p>
</li></ul>
</BODY>
</HTML>
<!-- Q6z5Ntkiuhw&JhsLdhtX.cg&Zp4q0b3A9f.&RQwJ4twK3pA (signum appsdocopis 1162406236 2673 Wed Nov 1 10:37:16 2006) -->Hi,
you can try to use the:
<b>ConsumerTreeListPreview</b>
layout for KM navigation ivew (or customize to your own).
This layout shows a folder tree on the left, a document list on the right. When you click on a document from the list it shows the contents of the file on the bottom of the iview.
Hope this helps,
Romano -
How to build tag cloud from text document
Hi,
I want to build tag cloud from text documents.
The text dcouments has several lines of sentence.
The tag shows long sentense, not key words.
Please let me know how to build.
And Can I use CAS or text enrichment?
Thank you very much.
SWKOHi,
You need to extract salient terms (e.g. people or product names) from your text documents by using the text enrichment or the text tagger component.
This step will generate new attributes, which can be used in your tag cloud.
Mathias -
Displaying Value generated from a sequence
I have a form that is used to create a new entry. The primary key is generated from an insert trigger and the user wants the page to be redisplayed with the new primary key that was generated by the trigger. The trigger works OK. How do I get the value that was generated by the trigger back to the page for display?
Thanks.if it's just one record why don't you move the INSERT statement into a function?
<br><br>
CREATE TABLE t
id NUMBER(15),
name VARCHAR2(20)
<br><br>
CREATE SEQUENCE sq_id
START WITH 1
INCREMENT BY 1
NOCACHE
NOCYCLE;
<br><br>
CREATE OR REPLACE
FUNCTION insert_into_t( p_name IN VARCHAR2) RETURN NUMBER
IS
l_id NUMBER(15);
BEGIN
INSERT INTO t
VALUES ( sq_id.nextval, p_name )
RETURNING id INTO l_id;
RETURN l_id;
END insert_into_t;
show errors<br><br>
chet -
How to display multiple data from different table in one table? please help
Hi
I got sun java studio creator 2(the separate installation not the one in the net beans)....
My question is about displaying data that have been taken from the database.... I know how to display data in a table(just click on the table "bind data" )... but my question is that:
when i want to use a sql statement that taken the data from different table...
how can i display that data in the table(that will be shown in the web) ??? when i click bind data on the table i can only select one table i can't select more than one....
Note:
1) i'm using the rowset for displaying the data in the table, since the sql statement is depending on a condition(i.e. select a from b where c= ? )...
2) i mean by different table is that( i.e. select a from table1,table2 )..
thanks in advance...Hi,
937440 wrote:
Hi every one, this is my first post in this portal. Welcome to the forum!
Be sure to read the forum FAQ {message:id=9360002}
I want display the details of emp table.. for that I am using this SQL statement.
select * from emp where mgr=nvl(:mgr,mgr);
when I give the input as 7698 it is displaying the corresponding records... and also when I won't give any input then it is displaying all the records except the mgr with null values.
1)I want to display all the records when I won't give any input including nulls
2)I want to display all the records who's mgr is null
Is there any way to incorporate to include all these in a single query..It's a little unclear what you're asking.
The following query always includes rows where mgr is NULL, and when the bind variable :mgr is NULL, it displays all rows:
SELECT *
FROM emp
WHERE LNNVL (mgr != :mgr)
;That is, when :mgr = 7698, it displays 6 rows, and when :mgr is NULL it displays 14 rows (assuming you're using the Oracle-supplied scott.emp table).
The following query includes rows where mgr is NULL only when the bind variable :mgr is NULL, in which case it displays all rows:
SELECT *
FROM emp
WHERE :mgr = mgr
OR :mgr IS NULL
;When :mgr = 7698, this displays 5 rows, and when :mgr is NULL it displays 14 rows.
The following query includes rows where mgr is NULL only when the bind variab;e :mgr is NULL, in which case it displays only the rows where mgr is NULL. That is, it treats NULL as a value:
SELECT *
FROM emp
WHERE DECODE ( mgr
, :mgr, 'OK'
) = 'OK'
;When :mgr = 7698, this displays 5 rows, and when :mgr is NULL, it displays 1 row. -
How to display the contents of a document set on a page?
I want to display the contents of a document set (that contains both folders and files) on a page (with the same structure as they are in the document set like folders and files). How to achieve this?
I tried content search webpart but it is of no use as it displays the flat list instead I need folders and files as they are present in the document set
I tried document set contents webpart but as it doesn't accept any connection, it is not of much use.
I will be glad if you have any pointers for me in this regard.
Regards
KesavaHi Kesava,
According to your description, you might want to display the content in a document set with its hierarchy.
How about using
Page Viewer Web Part to display the page of the corresponding document set? This would be a non-code solution I would recommend.
More information about Page Viewer Web Part:
https://support.office.com/en-nz/article/Page-Viewer-Web-Part-e364436c-0ec4-4819-acac-1982b3525531
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
contact [email protected]
Patrick Liang
TechNet Community Support -
How to configure to generate two accounting documents for Mvt 645
Dear Experts,
I read all documents related to STO one-step procedure (mvt 645). They said that the system generate two accounting documents for 2 company codes (receing and issuing company codes) after goods issue reference to DO.
However, after configuration one step procedure and test my system, the system only generated one accounting document for receiving company code, not for issuing company code. In Material document, I saw 2 Mvt 645 and 101. In the lines having Mvt 645, I saw G/L account of cost-of-goods-sold.
Could you please to show me how to generate two accounting documnets automatically after goods issue referent to DO with Mvt 645?
Thank you so much,
Best regards,
Anh DuongMy configuration steps are:
Step 1: preparation:
create customer and vendor master
extend sales & purchasing views for material master
Step 2: Assign customer number and the organizational units (sales organization, distribution channel, and division) to the Supplying plant and Receiving plant
IMG --> Materials Management --> Purchasing --> Purchase Order --> Set up Stock Transport Order --> Define Shipping Data for Plants
Step 3: tick on column "One step" for the line of supplying, receiving plant, and PO type cross transport order
IMG --> Materials Management --> Purchasing --> Purchase Order --> Set up Stock Transport Order --> Assign Document Type, One-Step Procudure, Underdelivery Tolerance
Step 4: assign delivery type NLCC for PO type cross transport order
IMG --> Materials Management --> Purchasing --> Purchase Order --> Set up Stock Transport Order --> Assign Delivery Type and Checking Rule
These above steps are in MM module.
Please help me,
Thank you,
Anh Duong -
How can I automate pasting from one document into another?
Hi, I have a need for a document that I am regularly appending a blank form from another document to. I would typically just open the second document and select and copy the block of text and then return to my working document and enter a page break and then paste in the form, over and over. I do this so often that a way to automate this would be a huge help. However I have had little luck working with automator myself probably because I am missing something. But I would appreciate any ideas....Thanks
If you took time to read carefully Pages User Guide, you would know this well described feature :
and you would use it to build a template as I urged you to do.
Yvan KOENIG (VALLAURIS, France) vendredi 29 avril 2011 14:42:20
Please :
Search for questions similar to your own before submitting them to the community -
How to create a PDF from sales document
Dear Experts,
I would like to create a PDF file from B1 document with using the core PDF export function (menu 7176), but I cannot define the file name for the exported content by code. Need user interaction. Anyone has idea how do I use the PDF export function and store the name of the exported files?
THank you in advance.
NghiaDear Nghia,
Its not possible to change the name of the file in runtime. As a work around you can modify the name of the file after its created, After action u can get the last created PDF file in the Path and rename it.
Hope it helps,
Vasu Natari.
Maybe you are looking for
-
Purchased synched from iphone showing up in itubes but not in library foler?
I bought music from my iPhone. Itunes synched with the iCloud and music shows up in iTunes but does not show up in my iTunes Music Library folder nor on the computer when I do a search. I have refreshed and tried everything else but it does not show
-
Automator Watermark PDF Document
WIth Lion I'm unable to add a .png file (or any image file) as a Watermark in the Automator action: PDF->Watermark PDF Document. This Worked for me in Snow Leopard. Can someone see if they get this to work? Tony
-
Since a couple of weeks I am experiencing problems with my iMac Display. From the bottom to the middle of my screen I am seeing a gradient. I have been searching this community and via Google but can't really find what the problem is and if it is eas
-
Modifying a function in a package...
I have a function as part of a package and need to modify the function's body. Do I have to run the entire package script after making the modification or is there a way to just modify the body of the specific function and make the updated function p
-
OpptySearchVO - How to extend?
Hello, I am trying to extend seeded vo (oracle.apps.asn.opportunity.server.OpptySearchVO) to add attribute1 field in the query.Its on Sales Dashboard page. However when I tried to match query from OpptySearchVO.xml file with one form about this page-