DATABASE.FULLTEXT indexer stuck on Delete

I've run into an issue with our Database Fulltext Indexer on UCM 10g. The Automatic Update Cycle seems to be 'stuck' on Deleting metadata for a piece of content that is no longer in the system. The indexer State is "Clean Up" and the Status is Active. The message says "Deleting metadata (0 of 1)". I've run IdcAnalyze on the collection looking for possible errors but it did not report any problems.
Is there some place I can clear this Indexer state and start processing new content items that are backing up? I'd like to be able to avoid a collection rebuild if at all possible.

Srinath - the two things that stick out in my mind are these two items, one from the Server Logs and the other from Output after turning on indexer and system database..
Looks like this query reached max time out and canceled.
------from Server Logs---------
Unable to do clean up. csDbUnableToExecuteBatch() error occurred during batching: ORA-01013: user requested cancel of current operation
java.sql.BatchUpdateException: error occurred during batching: ORA-01013: user requested cancel of current operation [ Details ]
An error has occurred. The stack trace below shows more information.
!csIndexerAbortedMsg!csIndexerUnableToCleanup!csDbUnableToExecuteBatch,!$error occurred during batching: ORA-01013: user requested cancel of current operation<br>!syExceptionType2,java.sql.BatchUpdateException,error occurred during batching: ORA-01013: user requested cancel of current operation<br>
intradoc.common.ServiceException: !csIndexerUnableToCleanup
     at intradoc.indexer.Indexer.doCleanUp(Indexer.java:825)
     at intradoc.indexer.Indexer.doWork(Indexer.java:278)
     at intradoc.indexer.Indexer.doIndexing(Indexer.java:439)
     at intradoc.indexer.Indexer.buildIndex(Indexer.java:348)
     at intradoc.server.IndexerMonitor.doIndexing(IndexerMonitor.java:1012)
     at intradoc.server.IndexerMonitor$4.run(IndexerMonitor.java:832)
Caused by: intradoc.data.DataException: !csDbUnableToExecuteBatch,!$error occurred during batching: ORA-01013: user requested cancel of current operation
     at intradoc.jdbc.JdbcWorkspace.handleSQLException(JdbcWorkspace.java:2371)
     at intradoc.jdbc.JdbcWorkspace.executeBatch(JdbcWorkspace.java:525)
     at intradoc.indexer.IndexerWorkObject.executeDependentQueriesAllowBatch(IndexerWorkObject.java:417)
     at intradoc.indexer.IndexerWorkObject.executeDependentQueriesEx(IndexerWorkObject.java:344)
     at intradoc.indexer.IndexerWorkObject.executeDependentQueries(IndexerWorkObject.java:338)
     at intradoc.indexer.Indexer.cleanUpQueries(Indexer.java:557)
     at intradoc.indexer.Indexer.doCleanUp(Indexer.java:821)
     ... 5 more
Caused by: java.sql.BatchUpdateException: error occurred during batching: ORA-01013: user requested cancel of current operation
     at oracle.jdbc.driver.OracleStatement.executeBatch(OracleStatement.java:4534)
     at oracle.jdbc.driver.OracleStatementWrapper.executeBatch(OracleStatementWrapper.java:213)
     at intradoc.jdbc.JdbcWorkspace.executeBatch(JdbcWorkspace.java:519)
     ... 10 more
From server output .. the Indexer now says it's in Clean Up mode deleting metadata (0 of 3) and I'm assuming it's these three;
systemdatabase     01.24 05:48:15.810     index update work     9.40 ms. SELECT/*+ INDEX (Revisions dIndexerState dStatus)*/ dID FROM Revisions
          WHERE dStatus='DELETED' AND dIndexerState = 'A'[Executed. Returned row(s): true]
systemdatabase     01.24 05:48:15.811     index update work     Batched query added at index 0: DELETE/*+ INDEX (DocMeta PK_DocMeta)*/ FROM DocMeta
          WHERE DocMeta.dID = 485759
systemdatabase     01.24 05:48:15.813     index update work     Batched query added at index 1: DELETE/*+ INDEX (DocMeta PK_DocMeta)*/ FROM DocMeta
          WHERE DocMeta.dID = 485760
systemdatabase     01.24 05:48:15.813     index update work     Batched query added at index 2: DELETE/*+ INDEX (DocMeta PK_DocMeta)*/ FROM DocMeta
          WHERE DocMeta.dID = 503528

Similar Messages

  • SiteStudio won't start with fulltext indexing enabled

    Hi,
    A total newbie to UCM here. Have downloaded the distribution from the [UCM product page|http://www.oracle.com/technology/software/products/content-management/index.html] and installed content server, dynamic converter and the 10gR4 Web content management component on Centos 5.4 (fully patched) using the latest available Oracle XE database, and applied all the relevant published patches from the OUCM 10g Patch Update Bundle. I've also installed the Ravenna Hosting Tutorial, and can access it fine directly and through the SiteServer Manager. I can update content using SiteStudio Contributor fine. So far so good.
    My config is:
    <installdir>/ucm/idc/config/config.cfg contains all between the '+++++' lines:
    ++++++++++++++++++++++++++++++++++++++++++++++
    <?cfg jcharset="UTF8"?>
    #Content Server System Properties
    IDC_Name=idc
    IdcProductName=idccs
    SystemLocale=English-US
    InstanceMenuLabel=idc
    InstanceDescription=Content Server idc
    SocketHostAddressSecurityFilter=127.0.0.1|192.168.0.*
    #Database Variables
    IsJdbc=true
    JdbcDriver=oracle.jdbc.OracleDriver
    JdbcConnectionString=jdbc:oracle:thin:@localhost:1521:xe
    JdbcUser=idc_user
    JdbcPassword=SRMtbwoinSEPrcJ7gK7mEaFKW5HpgfauP8tk2UfIxtI=
    JdbcPasswordEncoding=Intradoc
    DatabasePreserveCase=true
    #Internet Variables
    HttpServerAddress=192.168.0.10
    MailServer=192.168.0.2
    SysAdminAddress=<+a valid email address+>
    HttpRelativeWebRoot=/idc/
    CgiFileName=idcplg
    UseSSL=
    WebProxyAdminServer=true
    #General Option Variables
    IsOverrideFormat=false
    DownloadApplet=false
    MultiUpload=false
    IsAutoNumber=false
    UseCollaboration=true
    EnableDocumentHighlight=false
    EnterpriseSearchAsDefault=false
    IsJspServerEnabled=false
    JspEnabledGroups=
    #Additional Variables
    SpecialAuthGroups=Projects
    ZonedSecurityFields=
    DatabaseType=oracle
    SearchIndexerEngineName=DATABASE.FULLTEXT
    WebServer=apache
    IdcAdminServerPort=4440
    IntradocServerPort=4444
    ++++++++++++++++++++++++++++++++++++++++
    I've installed SiteStudio Designer R4 onto Windows 7. When I try to connect to the site using designer, I get an error dialog containing:
    "Failed to get search results with query "Fragment".
    (Unable to retrieve search results. Unable to retrieve search results. Unable to
    create result set for query 'SELECT * FROM (SELECT q.*, RowNum rowIndex
    FROM (SELECT dDocName, dDocTitle, dDocType, dRevisionID,
    dSecurityGroup, dDocAuthor, dDocAccount, dRevLabel, dFormat,
    dOriginalName, dExtension, dWebExtension, dInDAte, dOutDate, dPublishType,
    dRendition1, dRendition2, VaultFileSize, URL, dFullTextFormat,
    dFullTextCharset, DocMeta.*
    FROM verity.1, DocMeta
    WHERE verity.1.dID=DocMeta.dID AND
    ((UPPER(xWebsiteObjectType) LIKE UPPER('Fragment') AND
    xWebsiteObjectType IS NOT NULL)) ORDER BY dInDate DESC) q WHERE
    ROWNUM < 201) WHERE RowIndex >=1'.ORA-00907: missing right parenthesis"
    When I click "OK" Designer shuts down.
    If I set
    SearchIndexerEngineName=DATABASE.METADATA
    Designer startes fine.
    Has anyone ever seen this before, or have any suggestions as to how to fix it?
    I have installed on two separate systems, in two separate locations (one at work, the other (in desparation) on a brand new machine - quad core, 4GB memory) and am getting identical results so it's either something in the software or I'm doing something really, really stupid in the installation somewhere.
    Thanks to anyone who takes the time to read, at least, and hopefully give me a clue....
    Cheers
    Brad

    I was having the same issue and had to follow the metalink steps to get it to work:
    Error "Unable to index metadata only. The collection might be damaged" After Switching to Database Fulltext Indexing or OracleText Indexing [ID 748186.1]
    To resolve this issue, please follow these steps:
    1. Stop the Content Server services.
    2. On the Content Server's file system, navigate to <ContentServer>\search
    3. Open the file 'activeindex.hda'
    4. Search for the configuration entry, "ActiveIndex"
    5. Change the value of this entry to 'IdcColl1' or 'IdcColl2' (i.e. "ActiveIndex=IdcColl1") in case for FullText
    and in case of OracleTextSearch ots1 or ots2( i.e. "ActiveIndex=ots1")
    The search collection is presented in two spots in the activeindex.hda file. Both entries should be changed
    6. Save the change and close the file
    7. Remove or rename all files under the following locations:
    - <ContentServer>\search\lock
    - <ContentServer>\search\update
    - <ContentServer>\search\rebuild
    8. Start the Content Server services
    9. Log into the Content Server as a user with admin rights (i.e. sysadmin)
    10. Go to 'Administration' > 'Admin Applets'
    11. Start the "Repository Manager" applet
    12. Select the 'Indexer' tab
    13. Under the "Automatic Update Cycle", click 'Configure...'
    14. Uncheck the "Indexer Auto Updates" option
    15. Click OK
    16. Under the "Collection Rebuild Cycle", click 'Start'

  • 32-bit iFilter with Reader 11.0.10 cannot be found by SQL 2012 Fulltext Indexing on Windows 7 32 bit. How can I fix this?

    I have verified that a record shows up in the fulltext system components (EXEC sys.sp_help_fulltext_system_components 'filter').
    componenttype    componentname    clsid    fullpath    version    manufacturer
    filter    .pdf    E8978DA6-047F-4E3D-9C78-CDBE46041603    C:\Program Files\Adobe\Reader 11.0\Reader\AcroRdIF.dll    11.0.0.379    Adobe Systems, Inc.
    I have also added Reader's installation folder to my system PATH variable, and ran these 3 things:
    EXEC sp_fulltext_service 'update_languages';
    EXEC sp_fulltext_service 'load_os_resources', 1;
    EXEC sp_fulltext_service 'restart_all_fdhosts';
    and then dropped and re-created my fulltext index.  For each row in the table, I receive a message like this:
    Warning: No appropriate filter was found during full-text index population for table or indexed view '[DocumentIndexing].[dbo].[Document]' (table or indexed view ID '277576027', database ID '8'), full-text key value '17'. Some columns of the row were not indexed.
    In the Registry, under HKEY_CLASSES_ROOT / .pdf / PersistentHandler is the value {F6594A6D-D57F-4EFD-B2C3-DCD9779E382E}.
    I have tried several times to install/fix my PDF installation, restart SQL Server, Reboot my laptop, etc.  All to no avail.
    I saw the article on the 64-bit filter and was able to successfully do that on another workstation (Windows 8.1 64-bit SQL 2012).  However, I really need this working on my laptop.
    Do you have a solution or workaround or some recommendations for me to move forward with this?
    Thanks,
    Dave

    I found the solution.  Here it is:
    Take backup of below registry key.
    HKLM\SOFTWARE\Microsoft\Cryptography\MachineGuid This key should ideally have the GUID of the machine without curly braces, so {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} becomes xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    Then delete the braces.
    Try to reboot and start the SQL service . If service don’t start then Uninstall and reinstall SQL.
    The MachineGuid had curly braces so I removed them and rebooted my laptop.  Now both instances of SQL Server start.  It is the last post of this thread:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/56f14665-3f00-41ff-b002-bb5e86b3f219/sql-server-not-starting-fallback-certificate-initialization-failed?forum=sqlsecurity
    He states that he got it from Microsoft but did not give the url.
    Thanks for all your help.
    Fred Schmid

  • Outlook 2011 for Mac: Occurrence with this index was previously deleted from the recurrence

    Client using Outlook 2011 (14.2.4) with Mac OS 10.8.2. 
    I've never seen this error before, and it keeps popping up (next to the classic yellow triangle with exclamation point -- I'd post screenshot, but forum isn't letting me.) The message doesn't seem to be related to any specific action.)
    Exact text is: Outlook 2011 for Mac: Occurrence with this index was previously deleted from the recurrence.
    Any assistance is very much appreciated. 

    Unfortunately this did not work for me. There is absolutely nothing in my Drafts folder to be deleted. I'm sure the problem is calendar-related but there is nothing to delete or fix. I ran the Database Utility and it didn't find anything wrong. So I'm stuck
    getting an alert "beep" every 8 minutes from Outlook.  
    EDIT: OK, so you have to look in "Outbox", not "Drafts". And the "Outbox" does not always appear in the sidebar. When mine finally did (not sure what made it show up, but it may have been me enabling logging), I was able to
    delete the offending message.

  • Can we change the fields of database unique index in a customised table?

    Hi all..
    I want to know that can we create or change or delete the database unique index of a customized table?
    In my case, there is a customised table with 4 primary keys with all the records to be maintained thru transaction code SM30.
    There is database unique index maintained for this table which has 2 fields. These 2 fields are out of the 4 primary fields of the table.I hope I have made myself clear!
    Now when I am trying to insert a record in the table it give me a short dump.( It says duplication of records is not allowed)
    The reason being that the new record that I am trying to insert in the database table has those 2 fields for which the unique index is maintained is the same as an already existing record.And the other two fields are different from the already existing record.So overall the combination of the 4 primary fields is different.
    Please tell me how shall I proceed now?
    I also tried to change the Unique index but it is asking me some kind of authrization(You are not authorized to make changes (authorization object S_DEVELOP)).Also I am not sure whether changing the unique index is feasible or not.?
    Thanks.

    hi
    I think you will not be able to do unique indexing withou the help of primary keys,so use all the primary keys into the table field selections  and and then create indexing otherwise dupilication of keys can occur. if you are not able to keep the primary keys then go for non unique key indexing,where you have to add the client field and the any keys of your wish.

  • Index Range Scan / Deleted Leaf Blocks

    Hello guys,
    i have such a scenario on a big index / table which i can not reproduce on my test database, so i need to know how oracle handles the index range scan.
    For example:
    TABLE TAB with the following columns NR (number), I_DATE (date), TEXT (VARCHAR2(50))
    INDEX I_TAB on the column I_DATE.
    Now the index has blevel 2 and many leaf blocks. And now my question.
    Query: SQL> SELECT * from TAB WHERE I_DATE < 10.10.2004
    The index had stored some values which are a less than 2003 but these ones are already deleted (so the leaf blocks are gone to the freelist), but it was not reorganized.
    The execution plan is a INDEX RANGE SCAN on the INDEX I_TAB. Does the branch block still have pointers to the deleted leaf blocks which contained only 2003 values before (and so the INDEX RANGE SCAN scans all these blocks too) or are the pointers to these leaf blocks deleted in the branch block?
    Thanks and Regards
    Stefan

    You can verify it by yourself. See following:
    SELECT count(*) FROM index_test;
    ==> 1569408
    SELECT count(*) FROM index_test WHERE id <= 2;
    ==> 12
    -- Delete all except first 12 rows
    DELETE FROM index_test WHERE id > 2;
    -- Query and SQL Trace
    BEGIN
    FOR C IN (SELECT /*+index(index_test index_test_idx) deleted */ * FROM INDEX_TEST WHERE ID < 1000000) LOOP
    NULL;
    END LOOP;
    END;
    SELECT /*+index(index_test index_test_idx) deleted */ *
    FROM
    INDEX_TEST WHERE ID < 1000000
    call count cpu elapsed disk query current rows
    Parse 1 0.00 0.00 0 0 0 0
    Execute 1 0.00 0.00 0 0 0 0
    Fetch 1 0.00 0.00 0 3490 0 12
    total 3 0.00 0.01 0 3490 0 12
    ==> 3490 logical reads only for 12 rows and range scan??
    -- Index tree dump
    ALTER SESSION SET EVENTS 'IMMEDIATE TRACE NAME TREEDUMP LEVEL 67513'
    ----- begin tree dump
    branch: 0x1000124 16777508 (0: nrow: 6, level: 2)
    branch: 0x100b1ca 16822730 (-1: nrow: 557, level: 1)
    leaf: 0x1000125 16777509 (-1: nrow: 512 rrow: 12)
    leaf: 0x1000126 16777510 (0: nrow: 484 rrow: 0)
    leaf: 0x1000127 16777511 (1: nrow: 479 rrow: 0)
    leaf: 0x1000128 16777512 (2: nrow: 479 rrow: 0)
    leaf: 0x1000139 16777529 (3: nrow: 479 rrow: 0)
    leaf: 0x100013a 16777530 (4: nrow: 478 rrow: 0)
    branch: 0x100b401 16823297 (0: nrow: 558, level: 1)
    leaf: 0x100b1c9 16822729 (-1: nrow: 449 rrow: 0)
    leaf: 0x100b1cb 16822731 (0: nrow: 449 rrow: 0)
    leaf: 0x100b1cc 16822732 (1: nrow: 449 rrow: 0)
    ==> leaf:3488, branch: 7
    This means that almost all the branch and leaf nodes are read only for 12 keys.
    You can cross check this with the result of "10200" event which traces cr reads. You would find out that the blocks that are read by the query are exactly same as all the index blocks.
    This is what you mean? that the deleted leaf blocks(which contain no actual data) are read by range scan? Through the simple test, the anwer is "yes".

  • After building index is crawler deletes the data from crawl db?

    HI
    how the search service crawl component works,
    each time after building index is crawler deletes the data from crawl db
    adil

    Hi Adil,
    Index Database is usually called Crawl Database.
    I found a series of articles which goes through what these components are, how they work together, and how to provision them:
    http://blogs.msdn.com/b/russmax/archive/2010/04/16/search-2010-architecture-and-scale-part-1-crawl.aspx
    http://blogs.msdn.com/b/russmax/archive/2010/04/23/search-2010-architecture-and-scale-part-2-query.aspx
    SharePoint Server 2010 Enterprise Search Evaluation Guide:
    https://www.microsoft.com/en-us/download/details.aspx?id=24189
    Regards,
    Rebecca Tu
    TechNet Community Support

  • What is database re indexing

    hi
    what  is database re indexing
    what is the concept of it,
    adil

    One can REBUILD or REORGANIZE an existing index.  
    BOL: "This topic describes how to reorganize or rebuild a fragmented index in SQL Server 2012 by using SQL Server Management Studio or Transact-SQL. The SQL Server Database Engine automatically maintains indexes whenever insert, update, or delete operations
    are made to the underlying data. Over time these modifications can cause the information in the index to become scattered in the database (fragmented). Fragmentation exists when indexes have pages in which the logical ordering, based on the key value, does
    not match the physical ordering inside the data file. Heavily fragmented indexes can degrade query performance and cause your application to respond slowly.
    You can remedy index fragmentation by reorganizing or rebuilding an index. For partitioned indexes built on a partition scheme, you can use either of these methods on a complete index or a single partition of an index. Rebuilding an index drops and re-creates
    the index. This removes fragmentation, reclaims disk space by compacting the pages based on the specified or existing fill factor setting, and reorders the index rows in contiguous pages. When ALL is specified, all indexes on the table are dropped and rebuilt
    in a single transaction. Reorganizing an index uses minimal system resources. It defragments the leaf level of clustered and nonclustered indexes on tables and views by physically reordering the leaf-level pages to match the logical, left to right, order of
    the leaf nodes. Reorganizing also compacts the index pages. Compaction is based on the existing fill factor value."
    LINK: http://technet.microsoft.com/en-us/library/ms189858.aspx
    The following blog demonstrates how to REBUILD all the indexes in a database:
    http://www.sqlusa.com/bestpractices2008/rebuild-all-indexes/
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • FullText index blocking word contains with (S)

    Hi,
    My table column have "school(s)" value.
    I have created full text index for this table.
    And executing the below query first query not returning any records and second query returning records.
    select * from TABLENAME WHERE CONTAINS(ColumName, '"school(S)"') 
    select * from TABLENAME WHERE CONTAINS(ColumName, '"school(s)"') 
    Difference between both query is (S).
    Thanks in advance

    Hi Radhakrishnan,
    Full-text queries are not case-sensitive. For example, searching for "Aluminum" or "aluminum" returns the same results. Please refer to the article below:
    Full-Text Search (SQL Server):http://msdn.microsoft.com/en-us/library/ms142571.aspx
    I tried to repro this issue on my test environment, but it will return the expected reuslt. Here is the sample code for your reference, please see:
    CREATE DATABASE FULL_SEARCH_TEST
    USE [FULL_SEARCH_TEST]
    Create Table FullText_Search
    Id Int Primary Key Identity(1,1),
    Name Nvarchar(50)
    GO
    INSERT INTO FullText_Search VALUES('school(s)')
    INSERT INTO FullText_Search VALUES('Test1')
    INSERT INTO FullText_Search VALUES('Test2')
    SELECT * FROM FullText_Search
    GO
    CREATE FULLTEXT CATALOG FTSearch
    GO
    --Show all constraint names
    SELECT * FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS
    CREATE FULLTEXT INDEX ON FullText_Search
    (Name) KEY INDEX PK__FullText__3214EC077EC2BD1F
    ON FTSearch;
    SELECT * FROM FullText_Search WHERE CONTAINS(Name, '"school(s)"')
    GO
    SELECT * FROM FullText_Search WHERE CONTAINS(Name, '"school(S)"')
    I would suggest you share your DDL+DML to us for further investigation. Don't forget to let us know the version of your SQL Server.
    Regards,
    Elvis Long
    TechNet Community Support

  • Does Delete Overlapping Requests drop the BIA index like Selective deletion

    Hi,
    Does Delete Overlapping Requests process in a chain drop the Accelerator index like Selective Deletion does?

    Hi,
    No is does not.
    -Vikram

  • CONTAINS clause still works after disabling fulltext index on a table

    I disabled the fulltext index on a table using the below query:
    USE <dbname>;
    GO
    ALTER FULLTEXT INDEX ON <table_name> DISABLE
    Per BOL, "The table will not support full-text queries while the index is disabled.", I would expect the CONTAINS clause to stop working but I can still return rows from the <table_name> as before.
    SELECT top 10 * 
      FROM [dbo].[table_name]
      WHERE CONTAINS(<column>, N'test');
    The above returns 10 rows before and after disabling the index.
    Do i need to do something else?
    I even tried DENY permissions:
    DENY CONTROL, TAKE OWNERSHIP, ALTER, REFERENCES, VIEW DEFINITION ON FULLTEXT CATALOG::<catalog_name>
    TO <some_database_roles including public>
    Please help.
    Thanks
    Thanks

    Charles,
    Do you have any DDL Triggers on your server that might affect whether the full text index could be disabled?
    Any Policies that might likewise affect your results?
    RLF

  • Cloud service stuck in "Deleting..." state since July 2014

    One of my cloud services has been stuck at the "Deleting..." state in the Azure portal (and also shown as such in VS2013 server explorer) since ~July 2014
    I can't interact with the role to do anything with it - and have no idea why it won't go away.
    Can anyone suggest what I should do about this? Thanks for any help.

    Please refer this thread
    https://social.msdn.microsoft.com/Forums/azure/en-US/e71fa367-b478-44ce-8e41-ec5a8eec7b83/azure-cloud-service-stuck-at-deleting?forum=windowsazuredevelopment
    Bhushan | Blog |
    LinkedIn | Twitter

  • Printer stuck on "deleting"

    HP Photosmart C-4180 All in One stuck on "deleting" in dialog box.  Tried to cancel print job several times.  Tried to re-boot printer, but did not work.

    Hi @jerasmo05 ,
    I see that you are having issues with the printer being stuck on initializing. I will certainly do my best to help you.
    What happened prior to the printer going into initializing? (paper jam, update, changed a toner)
    I wasn't sure which manual reset you have already tried.
    I will send you the reset for the printer in a private message.
    In the forum beside your handle name just click on the envelope to view it.
    If you need further assistance, just let me know.
    Have a great day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Status of Fulltext Index Creation Process

    Greetings!
    We are creating a fulltext index over a jdbc/java call. We need to wait for the index creation to complete. How can I tell when the process is complete?
    Thanks!
    Mukunda

    Thanks Markus!
    We did some testing..The index entries are inserted into SYS.M_FULLTEXT_QUEUES when the index process is started and not when it is ended.
    This table provides information such as document, indexed_document, queue_document, error_document counts. Am I missing something?
    Regards,
    Mukunda

  • How to fulltext index more words - for example P A NC

    Hi everybody,
    I need to fulltext index a special phrase, for example P A NC, B A KLP, PO A BZ, etc. White space is standard delimiter words.
    I need oposite to stopwords
    Could you help me
    Thanks
    Martin

    Not quite sure what you're looking for.  You can turn off stopwords by using "stoplist ctxsys.empty_stoplist" in the parameters clause.  But are you looking to index those phrases as single tokens?  That can't be done without pre-processing the text in some fashion, perhaps replacing the spaces with a special character and defining that as a PRINTJOINS character, so that "P A NC" is indexed as "P+A+NC" or similar.
    SQL> create table foo (bar varchar2(2000));
    Table created.
    SQL> insert into foo values ('the quick brown P A NC jumps over the lazy B A KLP');
    1 row created.
    SQL> update foo set bar = regexp_replace( bar, 'P A NC', 'P+A+NC');
    1 row updated.
    SQL> update foo set bar = regexp_replace( bar, 'B A KLP', 'B+A+KLP');
    1 row updated.
    SQL> select bar from foo;
    BAR
    the quick brown P+A+NC jumps over the lazy B+A+KLP
    SQL> exec ctx_ddl.create_preference('mylex', 'BASIC_LEXER')
    PL/SQL procedure successfully completed.
    SQL> exec ctx_ddl.add_attribute('mylex', 'PRINTJOINS', '+')
    BEGIN ctx_ddl.add_attribute('mylex', 'PRINTJOINS', '+'); END;
    ERROR at line 1:
    ORA-06550: line 1, column 15:
    PLS-00302: component 'ADD_ATTRIBUTE' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    SQL> exec ctx_ddl.set_attribute('mylex', 'PRINTJOINS', '+')
    PL/SQL procedure successfully completed.
    SQL> create index fooindex on foo(bar) indextype is ctxsys.context
      2  parameters ('lexer mylex stoplist ctxsys.empty_stoplist');
    Index created.
    SQL> select * from foo where contains (bar, 'B+A+KLP') > 0;
    BAR
    the quick brown P+A+NC jumps over the lazy B+A+KLP

Maybe you are looking for

  • Pocess order - target quantity in cost analysis report

    hi experts , i am not getting the target quantity in cost analysis report of header material , though i have made the GR of the process order . target quantity is showing zero. i am getting target quantity of components , sfg used. kindly give your i

  • What is the text editor that comes with a Mac?

    What is the text editor that comes with a Mac? My daughter purchased a new MacBook Pro. She wants to move her iTunes from the old Windows XP system to OSX. One of the ways I have found to do this is to move theXML Library from XP toi OSX and edit it.

  • Problem with reset sync history

    I am trying to troubleshoot a problem syncing with MobileMe on my MacPro workstation with Mac OS X 10.6.3 and everything current. When I go into iSync preferences and press the "reset sync history" button, it never seems to finish. Even if I reboot a

  • Photoshop and Premiere Elements Re-download

    I bought Adobe Photoshop and Premiere Elements about a year ago and my primary computer crashed recently. I tried installing it onto my new computer and it wouldn't work. Is there a way I can download without having to pay for it over again? Thank Yo

  • Photoshop Installation and update

    Having trouble installing Photoshop CC. It wanted to imediatly update, which initially failed, so I had to tell it to try again after installing LIghtroom. But now I'm getting an error message. It says to retry or to contact customer support (49). Sa