Missing queues for created indexes
Hi,
I'm trying to enable the search function for e-recruitment.
TREX is installed and in the ERP 6 system, the customising to create the SSR has been performed, the document class to be indexed set up etc. and the settings have been checked in SKPR07.
Having set up the indexing, I can see that I now have three indexes in TREX, one for each client in my ERP 6 system. However, no queues have been created. Shouldn't the queue be created when the index is created? Any ideas?
At the moment the system knows that there are documents to index but can't since I'm assuming there is no queue.
In addition, when in SKPR07, a message is displayed saying that documents are to be indexed using the new API, SKPR_INDEXING1. I've not found any help on this and that doesn't seem to work either.
Any ideas welcome.
Regards,
Rob Forster
Hi,
Thanks but I've resolved the issue now. We didn't have any queues at first to be able to flush but it was matter of turning on a parameter to use a queue server.
There was a pre-processor authorisations problem too.
Note 658052 and 650521 sorted us as far as indexing documents.
Now onto why the searches through the portal return 0 hits whilst they work in the backend. Still, a few more notes about that.
Regards,
Rob Forster
Similar Messages
-
Java Flush Queue for TREX index - How to
Hi,
I have an IIndex instance. I've added a document to the index using indexDocument(IResource resource).
How can I programmatically get the queue for the IIndex instance & do a flush on that queue?
Thanks,
JeroenSee method flush() here : AbstractIndex
//Your index ...
IIndex idx =...
//Set the index active before adding the document, flush afterwards
//Sets an index inactive or activates it
idx.setActive(true);
//Puts a document into the index - note : the document is added to the queue with a small delay, while the flush is performed immediately
idx.indexDocument(res);
//Cast to AbstractIndex
AbstractIndex k = (AbstractIndex)idx;
//Flush the queue
k.flush(); -
What resources are used for "create index" ?
In the context of creating an index on a heavily loaded table....
What Oracle resources are consumed>? Any caches or buffers? Sort files? Temp Tables?
(trying to speed up an index create)Like any other read/write database activities, CREATE INDEX uses blocks in the buffer cache. If your table is large, I would recommend increase your buffer cache.
No temporary tables is used as far as I know. There are no sort files in Oracle. Temporary tablespace may be used because sorting is generally needed when creating an index, but I am not sure about that.
When creating a index, Oracle creates a temporary segment in your permanent tablespace: if the CREATE INDEX fails, the temporary segment is removed. If the CREATE INDEX succeeds, the temporary segment is made permanent.
Message was edited by:
Pierre Forstmann -
Bug in Mail's handling of missing font for creating a "Note"
I try to keep my font library trimmed down to a minimum, since i don't use many fonts, and don't like to see cluttered font menus.
However I apparently disabled one too many fonts, and now Mail refuses to create "notes". When I go to create a new note, nothing happens at all... no error message, nothing (and this strikes me as a problem with Mail. I didn't go in and make any deep system level modifications, i simply used the Fontbook app that is available to all users, and switched off a few fonts, and now Mail is malfunctioning. It should at least give me a warning message).
My system console reports as follows:
11/12/07 8:37:11 AM Mail[152] * Assertion failure in +[NoteView updateFontAndRule:], /SourceCache/Mail/Mail-912.1/MessageViewer.subproj/NoteView.m:149
11/12/07 8:37:11 AM Mail[152] * WebKit discarded an uncaught exception in the webView:didFinishLoadForFrame: delegate: <NSInternalInconsistencyException> font-family cannot be nil
So,
1. Does anybody know which fonts Mail needs for Notes?
2. Is there a way I can/should report this bug to Apple?If you create a metadatatype with a single metdata block, and you reference that in your vm/cm cell attribute using a *one* based index, Excel seems to see the link and it honors it when saving the spreadsheet.
So, I ended up with something like:
<c ... cm="1"/> (I'm dealing with cell metadata, but the concept is equivalente to value metadata)
<metadataTypes count="1">
<metadataType name="MyMetaType" .../>
</metadataTypes>
<futureMetadata count="1" name="MyMetaType">
<bk>
<extLst><ext
uri="http://example" xmlns:x="http://example"><x:val>87</x:val></ext></extLst>
</bk>
</futureMetadata>
<cellMetadata count="1">
<bk><rc
t="1" v="0"/></bk> <!-- this is what gets referenced as cm=1 on the cell -->
</cellMetadata>
Hope this helps. -
Please help for create index for table in db2
Dear Consultants,
Our Production Servers have a problem, when user input materials in t-code VA01, the check data take long time to complete.
I was create a incident on SAP Portal and they recommended to create a new index on table:
VBRP in the order MANDT, AUBEL and AUPOS.
but we don't sure how to do this, please help us !
The SAP consultant message:
" It was identified that there is one SQL statement which was
responsible for the majority of the time spent during the VA01
transaction. It accounted for around 49 seconds.
The SQL statement was analysed and a selectivity analysis was carried
out on certain fields specified in the WHERE clause. The statement is
currently executed via a full table scan which is not an efficient
access. It is therefore recommended to create a new index on table
VBRP in the order MANDT, AUBEL and AUPOS. "
Our System Landscape IS : DEV -> QAS -> Production and DataBase server : db2 9.07 , SAP ECC 6.0, windows server 2008
Thanks and Best Regards,
Hien NguyenHi Deepak,
Could you please tell me the places where can i post the message for ABAPer, i don't know to choose : ABAP Development , ABAP Testing and Troubleshoo… or somthing else
Sorry for my amateur !
Thanks you very much.
Best Regards,
Hien -
How to create index file for pdf.
Hello,
I need to create a plugin which will read a list of pdf files and then create a full text index with catalog. I searched on net and came to know about the catalog plugin which does this work.In AV layer there is a catalog object but I am unable to find any example on net which uses the catalog object to create the pdx file and a support folder(contains idx files).
I also read the java script documentation but there was no example for creating index.We can build index but for that we need to retrieve the index object first.
Can somebody please giude me.
Thanks!Hi Irosenth,
Is it possible to use DOM/IAC to create index files. The example given in SDK(SearchPdfVB) allows us to add,remove,enable and disable index files. But there is no method given in example to create an index file.
I want to create index file and the supporting folder which contains .idx files automatically ie through code. Is it possible to do so??
I also looked into the AVCommands but couldn't understand how to create the index files using AVCommands.
Can you please guide me.
Thanks!! -
How to create index on a xmltype column stored as CLOB
actually i have two problems.
i uploaded this schemaA.xsd file into xmldb repository without problems. registration also went ok.
BEGIN
DBMS_XMLSCHEMA.registerSchema(
schemaURL => 'http://xmlns.example.com/xdb/documentation/schemaA.xsd'
,schemaDoc => sys.UriFactory.getUri('/home/dev/schemaA.xsd')
,local => TRUE
,genBean => false
,genTypes => TRUE
,genTables => false
,enableHierarchy => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
END;
then i run this:
create table pf_table_a(
id VARCHAR2(100) primary key,
xsd VARCHAR2(3000),
xml_document XMLType
) XMLTYPE COLUMN xml_document
STORE AS CLOB
XMLSCHEMA "http://xmlns.example.com/xdb/documentation/schemaA.xsd"
ELEMENT "order";
and got this error:
SQL> @d:\usr\dev\perftest\create_tables.sql
Table created.
create table pf_table_a(
ERROR at line 1:
ORA-00955: name is already used by an existing object
anyway the table was created. so i went on to create indexes.
SQL> create index pf_a_index on pf_table_a(extractValue(OBJECT_VALUE, '/order@or
derNo'));
create index pf_a_index on pf_table_a(extractValue(OBJECT_VALUE, '/order@orderNo
ERROR at line 1:
ORA-04063: table "BAUSER1.PF_TABLE_A" has errors
this of course is wrong. because the command is for creating index of a XMLTYPE table. no a column. but what is the correct command? thanks.
jack.actually i have two problems.
i uploaded this schemaA.xsd file into xmldb repository without problems. registration also went ok.
BEGIN
DBMS_XMLSCHEMA.registerSchema(
schemaURL => 'http://xmlns.example.com/xdb/documentation/schemaA.xsd'
,schemaDoc => sys.UriFactory.getUri('/home/dev/schemaA.xsd')
,local => TRUE
,genBean => false
,genTypes => TRUE
,genTables => false
,enableHierarchy => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
END;
then i run this:
create table pf_table_a(
id VARCHAR2(100) primary key,
xsd VARCHAR2(3000),
xml_document XMLType
) XMLTYPE COLUMN xml_document
STORE AS CLOB
XMLSCHEMA "http://xmlns.example.com/xdb/documentation/schemaA.xsd"
ELEMENT "order";
and got this error:
SQL> @d:\usr\dev\perftest\create_tables.sql
Table created.
create table pf_table_a(
ERROR at line 1:
ORA-00955: name is already used by an existing object
anyway the table was created. so i went on to create indexes.
SQL> create index pf_a_index on pf_table_a(extractValue(OBJECT_VALUE, '/order@or
derNo'));
create index pf_a_index on pf_table_a(extractValue(OBJECT_VALUE, '/order@orderNo
ERROR at line 1:
ORA-04063: table "BAUSER1.PF_TABLE_A" has errors
this of course is wrong. because the command is for creating index of a XMLTYPE table. no a column. but what is the correct command? thanks.
jack. -
Create Index error on all jobs of import abap installation phase
Hello,
I'm facing an issue on import abap phase on IDES SAP ERP 2004 installation over SLES 11/MaxDB 7.6.03 build 9.
Logs below are focused on table REPOSRC because it is the first error over installation, the same error appear again and again for the next tables.
We ran the installation again changing the number of parallel processes to 1 job at time but finally nothing change.
sapdb log size : -rw-rw---- 1 sdb sdba 8808038400 Mar 30 23:01 DISKL001
cache_size = 159488
Thanks in advance, Deiby
import_monitor.log
TRACE: 2010-03-29 16:53:00 com.sap.inst.migmon.LoadTask run
Loading of 'REPOSRC' import package is started.
TRACE: 2010-03-29 16:53:00 com.sap.inst.migmon.LoadTask processPackage
Task file generation for 'REPOSRC' import package:
/usr/sap/IDS/SYS/exe/run/R3load -ctf I /software/51034985/51034985_2/EXP2/DATA/REPOSRC.STR /tmp/sapinst_instdir/ERP/SYSTEM/ADA/CENTRAL/AS/DDLADA.TPL REPOSRC.TSK ADA -l REPOSRC.log
TRACE: 2010-03-29 16:53:00 com.sap.inst.migmon.LoadTask processPackage
Loading of 'REPOSRC' import package into database:
/usr/sap/IDS/SYS/exe/run/R3load -i REPOSRC.cmd -dbcodepage 4103 -l REPOSRC.log -nolog -c 10000
ERROR: 2010-03-29 16:53:04 com.sap.inst.migmon.LoadTask run
Loading of 'REPOSRC' import package is interrupted with R3load error.
Process '/usr/sap/IDS/SYS/exe/run/R3load -i REPOSRC.cmd -dbcodepage 4103 -l REPOSRC.log -nolog -c 10000' exited with return code 2.
For mode details see 'REPOSRC.log' file.
Standard error output:
sapparam: sapargv( argc, argv) has not been called.
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
REPOSRC.log
/usr/sap/IDS/SYS/exe/run/R3load: START OF LOG: 20100329165300
/usr/sap/IDS/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
/usr/sap/IDS/SYS/exe/run/R3load: version R7.00/V1.4
Compiled Jan 23 2008 17:32:58
/usr/sap/IDS/SYS/exe/run/R3load -ctf I /software/51034985/51034985_2/EXP2/DATA/REPOSRC.STR /tmp/sapinst_instdir/ERP/SYSTEM/ADA/CENTRAL/AS/DDLADA.TPL REPOSRC.TSK ADA -l REPOSRC.log
/usr/sap/IDS/SYS/exe/run/R3load: job completed
/usr/sap/IDS/SYS/exe/run/R3load: END OF LOG: 20100329165300
/usr/sap/IDS/SYS/exe/run/R3load: START OF LOG: 20100329165300
/usr/sap/IDS/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
/usr/sap/IDS/SYS/exe/run/R3load: version R7.00/V1.4
Compiled Jan 23 2008 17:32:58
/usr/sap/IDS/SYS/exe/run/R3load -i REPOSRC.cmd -dbcodepage 4103 -l REPOSRC.log -nolog -c 10000
DbSl Trace: prepare() of C_0000, rc=1, rcSQL=-942 (POS(28) Unknown table name:SVERS)
DbSl Trace: SQL PREPARE on connection 0, rc=-942 (POS(28) Unknown table name:SVERS)
(DB) INFO: connected to DB
(DB) INFO: The MaxDB logwriter is switched off#20100329165300
(DB) INFO: Savepoint on database executed#20100329165300
(DB) INFO: REPOSRC created#20100329165300
(DB) INFO: Savepoint on database executed#20100329165301
(DB) INFO: REPOSRC~0 created#20100329165301
DbSl Trace: writeLob() of C_0003, rc=1, rcSQL=-10201 (Function sequence error (no data for execution expected))
DbSl Trace: LOB_WRITE on connection 0, rc=-10201 (Function sequence error (no data for execution expected))
(IMP) ERROR: DbSlExeModify/DbSlLobPutPiece failed
rc = 99, table "REPOSRC"
(SQL error -10201)
error message returned by DbSl:
Function sequence error (no data for execution expected)
(DB) INFO: disconnected from DB
/usr/sap/IDS/SYS/exe/run/R3load: job finished with 1 error(s)
/usr/sap/IDS/SYS/exe/run/R3load: END OF LOG: 20100329165304
/usr/sap/IDS/SYS/exe/run/R3load: START OF LOG: 20100330120734
/usr/sap/IDS/SYS/exe/run/R3load: sccsid @(#) $Id: //bas/700_REL/src/R3ld/R3load/R3ldmain.c#14 $ SAP
/usr/sap/IDS/SYS/exe/run/R3load: version R7.00/V1.4
Compiled Jan 23 2008 17:32:58
/usr/sap/IDS/SYS/exe/run/R3load -i REPOSRC.cmd -dbcodepage 4103 -l REPOSRC.log -nolog -c 10000
(DB) INFO: connected to DB
(DB) INFO: The MaxDB logwriter is switched off#20100330120734
(DB) INFO: Savepoint on database executed#20100330120735
(DB) INFO: REPOSRC deleted/truncated#20100330120735
DbSl Trace: writeLob() of C_0004, rc=1, rcSQL=-10201 (Function sequence error (no data for execution expected))
DbSl Trace: LOB_WRITE on connection 0, rc=-10201 (Function sequence error (no data for execution expected))
(IMP) ERROR: DbSlExeModify/DbSlLobPutPiece failed
rc = 99, table "REPOSRC"
(SQL error -10201)
error message returned by DbSl:
Function sequence error (no data for execution expected)
DbSl Trace: EXECUTE on connection 0, rc=-1452 (POS(1) Duplicate secondary key)
ERROR : Execute for create index BNK_BATCH_HEADERBA on BNK_BATCH_HEADER failed (dbrc=99).
(SQL error -1452)
error message returned by DbSl:
SQL-Statement: CREATE UNIQUE INDEX "BNK_BATCH_HEADERBA" ON "BNK_BATCH_HEADER" ( "MANDT" , "BATCH_NO" )
/usr/sap/IDS/SYS/exe/run/R3load: job finished with 1 error(s)
/usr/sap/IDS/SYS/exe/run/R3load: END OF LOG: 20100330120739
REPOSRC.TSK
T REPOSRC C ok
P REPOSRC~0 C ok
D REPOSRC I err
Edited by: Deiby Alvez on Mar 31, 2010 10:39 PMhello friends,
i have a similar error in context of an unicode conversion in phase import with r3load. in logs in file D010TAB.log i see the following output:
DbSl Trace: EXECUTE on connection 0, rc=-7055 (POS(55) Column(s) already indexed:/BI0/E0D_DECU~P)
ERROR : Execute for create index /BI0/E0D_DECU~P on /BI0/E0D_DECU failed (dbrc=99).
(SQL error -7055)
error message returned by DbSl:
SQL-Statement: CREATE INDEX "/BI0/E0D_DECU~P" ON "/BI0/E0D_DECU" ( "KEY_0D_DECUP" , "KEY_0D_DECUT" , "KEY_0D_DECUU" , "KEY_0D_DECU1" , "KEY_0D_DECU2" , "KEY_0D_DECU3" , "KEY_0D_DECU4" , "KEY_0D_DECU5" )
POS(55) Column(s) already indexed:/BI0/E0D_DECU~P
/usr/sap/SPV/SYS/exe/run/R3load: job finished with 1 error(s)
/usr/sap/SPV/SYS/exe/run/R3load: END OF LOG: 20100414185908
45 / 47 are complete in phase import.
For a TEST Case , i have deleted all indices on tables in selection of /BI0/*. I will rerun this procedure. the largest part of indices on tables come from a bw-installation in a seperate client.
best regards,
christoph -
Problem in create index on file system repository
I want to create an index on file system repository,but have some problem.
1) create a windows filesystem repository
2) I can found the repository entry in KM content
3) go into "index administration" and create index,but I can not found the entry when I pressed "add" button on datasources pagehello Karsten
thanks for your consideration.
After create a Windows file system Repository,I create the index as the fowllowing step.
1) go to the page System Administration=>Knowledge Managment=>Index Administration and click Create button for creating index, then a form appeared.
2) fill in the for specified value, then press Create Index button to create index
3) click on DataSource link, in the Datasource Tab, click the Add button, then I could see all of folders on the screen( such as documents,calendar,etc), but I can not found the Windows File system Entry that just I created.
I can not create a index for the Windows File System
what is the wrong with it?
thanks -
Hello guys,
I wonder how SAP creates an index when it is executed via SE14 or SE11 transactions. I mean on Oracle level and especially ONLINE option. My consideration is that I must create an index on a big table and the duration is around 5+ hours. We tested this in a fresh test environment (copy from productive system). Unfortunately we cannot lock the productive system for so long period. So, if index creation is with ONLINE option - it will not lock the table and it will be used if necessary.
Thank you for your suggestions and advices.
Best regards,
DetelinHi Detelin
No, during index creation database locks the table. So, although your SAP is up particular table will be locked for deletion , insert etc.
But from oracle level you can create index online by running SQL command
Please refer to note Note 334224 - Important notes for creating indexes
Regards
Anindya
Edited by: Anindya Bose on Mar 4, 2010 6:57 PM -
Not able to create index for organization
in transaction ses_admin, i created an index for business object BAS_BUPA of type 1,ie individual account.
However, i am not able to create index for BAS_BUPA of type 2
It says "No entry in table SIC_INDEX_MAIN for index object BAS_BUPA and index 2"hi,
The index is for Business Partner, so it includes both Persons and Organizations. So, only one index needs to be created for both.
The functioning is correct, just that i missed it. -
Creating Index for PDF documents
Hello,
I am trying to index a column in one of my tables that contains a BLOB object that is a PDF for each record. I want to create an index on that column so I can search through the contents of these PDFs.
I have tried several times to create the index using this sql command:
create index rep_index on report(report_binary)
indextype is ctxsys.context;
I have also tried it with severa other variations using the parameter list, but I believe that this way is sufficient because all the default options, as I understand them, are good enough for a search through PDFs.
The command did succeed in creating the index (or so it claims), but when I query using the contains method no pdfs are ever returned. Here is an example query after the index is created:
select score(1), report_id from report where contains(report_binary, 'the', 1) > 0 order by score(1) desc;
That and other similar queries never return anything!!
Is there some piece of the index creation specific to BLOBs that I am missing?
thanks for the help!
-- Joseph
Edited by: user12036946 on Oct 9, 2009 10:40 AM"the" is a stopword for English-language default installations, so that particular search won't find anything.
Try
select token_text from dr$rep_index$i to see if you have any indexed words. If you do, try searching for one of those.
If you don't have any indexed words, check the view ctx_user_index_errors to see if there are any row-level index creation errors.
What version and platform are you running on? The filters which provide the processing of PDF files are not available on all platforms - for example prior to 11g we didn't support Solaris X86-64. -
How to create index for a column of a view
Hi,
I have created view for a table and then i am trying to create index for a column of that view. i am using the query "CREATE INDEX index_name ON view_name (col)". but Mysql is showing error like "view_name is not a base table".
How can i do that......As mentioned this is a java forum not a mysql forum, but as I know the answer - you can't create an index directly on a view in mysql.
-
Message for Missing Parts While Creating Order
Dear Friends,
While Creating & Saving The Production Order System Is Not Supporting In Giving A Warning Massage On Missing Parts In spite Of Deficit In Storage Location For Materials.
The Clint Requires A Warning Massage In Case Of Materials Shortage In SL
I Tried To Get This From the Following Method
Checked For Define checking control In OPJK.
Selected plant, Order type & selected the business function 1 for create or 2 for release. And Maintained These Settings
a) Removed tick mark in No Availability check.
b) Type of component check Given as - ATP check.
c) Material release - 1. User decides on release if parts are missing.
d) PP Checking rule (Which Is same As with plant parameter OPPQ)
e) In Define scope of check (OPJJ) made a tick mark in check w/o RLT.
Then Assigned the availability checking group at Mrp View of Header material.
In spite Of All These Settings Still At The Time Of Order Release/Save A Warning Massage Or A Informative Massage Is Not Appearing
Please Suggestu2026u2026u2026u2026
HariDear Friends,
I Did The Following Settings
A) Define Checking control 02 Individual Req
Total Sales Single Record
Total Div Rec Single Record
B)Define Checking Rule PP Check Rule
C)Define Scope Of Check Availability Check 02 Ind Req
Checking Rule PP Check Rule
Stock
Include Safety stock
Stock In Transfer
Incl Quanty Insp Stock
And When No tick Mark Is Applied In NO Stor Loc Inspectn
Not Used Checking Group "KP" In components material master.
After Making All This Settings Also Before Order ReleaseWhen Pressed u201CMaterial Availability Checku201D
The System Is Showing All Materials Available In Spite Of Deficit In Storage Location
Suggestu2026u2026 -
ABAP Routine for Deleting and creating index for ODS in Process chains
Any pointers for the ABAP Routine code for deleting and creating index for ODS in Process chains.
Hi Sachin,
find the following ABAP code to delete ODS ondex.
data : v_ods type RSDODSOBJECT.
move 'ODSname' to v_ods .
CALL FUNCTION 'RSSM_PROCESS_ODS_DROP_INDEXES'
EXPORTING
I_ODS = v_ods.
To create index:
data : v_ods type RSDODSOBJECT.
move 'ODSname' to v_ods .
CALL FUNCTION 'RSSM_PROCESS_ODS_CREA_INDEXES'
EXPORTING
I_ODS = v_ods.
hope it helps....
regards,
Raju
Maybe you are looking for
-
Okay, so the new Apple update did not fix the issue that I have!
I still have to disconnect the network cable or wireless before I can connect my laptop to my iPhone. I was hoping the fix would address, but alas NO! Anyone know of a way to fix the issue that iTunes looks as the iPhone being connected as busy port
-
Patchset 10.2.0.5 (required for Windows 7 64-bit)
Am I right in thinking this isn't freely available - only access route I can find mentioned seems to be via some sort of support contract. Anyone know why Oracle is restricting access to this when 11 is available?
-
ITunes 9.0 requires Safari 4.0.3 to use the App Store
I just upgraded to iTunes 9.0 and get this error message: "iTunes 9.0 requires Safari 4.0.3 to be installed to use the iTunes Store. Use Software Update...." I already have Safari 4.0.3 installed so no updates are available. I'm running Snow Leopard.
-
I'm getting error 4960 when trying to download Photoshop Elements 12 trial to my Mac
I have been trying to download the trial for Photoshop Elements 12 to my Macbook Pro but I'm getting and error message 4960. Can anyone suggest where it's going wrong? Many thanks.
-
Since I uploaded to Snow, the Address book is really sluggish when I open it. The ball keeps rolling and rolling before finally giving me access. Same thing with searches, the rolling ball keeps popping up and I have to wait for it to stop. Very anno