Problem with index markers

My index markers are not recognizing page ranges when using the "to next use of style" in one of my book documents but works in all the other documents. I tried to export as IDML but it didn't fix the problem. I do notice that the marker looks different in the story editor from the ones in the other documents. I tried to delete the marker and reindex but the it didn't fix the problem and the marker still looks different.

Thank you for posting your solution, Dan. It's cold comfort, but I've also ran into this issue in the past, almost certainly well before Word2003 though, probably as far back as Word2000 or earlier.
In your testing, did you try saving as RTF to see if the markers were homogenized, by any chance? In my simple testing just now, Word itself recognized the index field correctly no matter whether I changed the field to "xe" or "XE", but FM's import of the .docx file format wouldn't recognize "xe", only "XE". But importing an RTF file handled both upper- and lower-case entries.
Ah, yes, that's it -- saving the Word2007 file as RTF (with 2 fields, one caps, one lower-case) changed cap field to lower-case when the RTF is opened in Word again, so saving as RTF does homogenize the fields to lower-case. Is it possible that your file(s) were changed to or saved as RTF at any point in their life-cycle? I believe some older versions of Word were actually RTF under the hood, too -- if you do Save As in Word2007 you can scroll through the File Type entries and see "Word 97-2002 & 6.0/95 - RTF (*.doc)"  I believe some doc management systems change binaries to RTF too, or conversely some apps create RTF but they name the files as doc.
So Word itself recognizes either lower- or upper-case, and FM's RTF import handles both, but not the .docx import.
Sheila

Similar Messages

  • Problem with index markers and importing MS Word 2007 files

    This was ugly in that it wasn't caught until after a book had been typeset and the index was being finalized. I'm now having to go back and manually insert a zillion index markers. Not fun.
    This was my first project since migrating from FM 7.1 to FM9.0.3.
    Source documents are Microsoft Word 2007. Am working in Microsoft Windows 7 64-bit.
    When the Word files were imported into FrameMaker, only SOME of the index markers were imported. The difference between those that were imported and those that weren't was seemingly random.
    I did some testing and found the problem and a solution.
    Looking at the source Word .docx file, and displaying hidden text shows two types of index markers:
    1. { XE "word to be indexed"}
    2. {xe "word to be indexed"}
    Note the difference in case and the extra space after the opening brace in #1. Markers of type 1 were imported fine. Markers of type 2 were stripped by the import process.
    The solution:
    Backsave the Word file to Word 2003 format (.doc) before importing into FrameMaker.
    I backsaved to Word 2003 and imported using both the "Microsoft Word" and "Microsoft Word 2007" filters and both filters imported correctly. It's only when trying to import a Word 2007 .docx file directly that things run amok.
    Grr...

    Thank you for posting your solution, Dan. It's cold comfort, but I've also ran into this issue in the past, almost certainly well before Word2003 though, probably as far back as Word2000 or earlier.
    In your testing, did you try saving as RTF to see if the markers were homogenized, by any chance? In my simple testing just now, Word itself recognized the index field correctly no matter whether I changed the field to "xe" or "XE", but FM's import of the .docx file format wouldn't recognize "xe", only "XE". But importing an RTF file handled both upper- and lower-case entries.
    Ah, yes, that's it -- saving the Word2007 file as RTF (with 2 fields, one caps, one lower-case) changed cap field to lower-case when the RTF is opened in Word again, so saving as RTF does homogenize the fields to lower-case. Is it possible that your file(s) were changed to or saved as RTF at any point in their life-cycle? I believe some older versions of Word were actually RTF under the hood, too -- if you do Save As in Word2007 you can scroll through the File Type entries and see "Word 97-2002 & 6.0/95 - RTF (*.doc)"  I believe some doc management systems change binaries to RTF too, or conversely some apps create RTF but they name the files as doc.
    So Word itself recognizes either lower- or upper-case, and FM's RTF import handles both, but not the .docx import.
    Sheila

  • Problem with index in merged projects

    Dear Sir,
    I have a problem with index in the master project, I can only
    view the master project index keywords under the index tab. My
    master project contains 2 topics besides the other sub projects. I
    have created index for all sub projects indvidually and at the end
    I created the master project index.
    I made sure that the 'Binary Index' flag is ticked before
    compilation and stil the problem is on, do somebody know what could
    be the problem.

    Hi,
    Two points here.
    Firstly, you can duplicate SSL's. (Right click on an SSL in
    the projects sub-directory and select the duplicate layout option.
    This will give you a copy of the original SSL).
    I tend to have two SSL's - one is local and I use that every
    time I test compile the project when I'm working on it.
    The other is set to output to the master project. I use that
    once I'm happy with the sub-project and start working with the
    master project.
    Second point is to be aware of how RoboHelp treats the
    imported/merged .chm files from the sub projects.
    It imports them into the main project master directory - then
    when the master project is compiled it puts a copy of them into the
    master project SSL. However, if you re-compile it doesn't overwrite
    the files that are already in the master project SSL directory.
    This is why you have to be aware of where the sub project
    .chm files are going - you need to make sure that if you revise the
    sub projects, a fresh copy of the .chm files ends up in the output
    SSL directory of the master project.

  • Pages '09 problem with index

    Hi all,
    So this is my problem, i'm editing ePub to publish in the Apple iBooks Store, and do them with Pages, but i've big problems with index
    i'm using personal styles (as i change chapter colors, font size)
    in "old Pages" i could not do index as it was telling me i was not using none of the style in index (even with my proper styles markeds, now when i create index in the style box my styles doesn't show soo it can't create index)
    In Pages '09, i have no problem to create index, the problem is when i export to ePub it does not show it
    or when it was shoing it, in the normal index, i could also see it in the book as a normal page, and i want it only in the normal ebook index.
    any suggestions?
    thanks for your help
    (if answer can be from Spanish person in Spanish, beter, than beter, but English or french answer welcome too )
    have nice .... what ever it is for you.

    more or less i got it (after trying, and trying)...
    i used the template from apple: http://images.apple.com/support/pages/docs/ePub_Best_Practices_EN.zip
    then i make my peronal style using the color i whant for chapter title... this is ok
    but still hane the enoying  index as normal page....(pic 1) only what pic 2
    if i find a solution, will post it, if you find it, and also how to change the color of the index text (it is supposed to be change to black...)
    I'll apreciate the help.
    thanks again, and have nice day

  • Problem with index of numbers in BSP Front end

    Hello All,
    I am facing the below problem. Request your help.
    Scenario: When I am trying to add the projects in the Front end , I am facing the problem with the index of numbering of the projects.
    Example: If I am adding 6 projects ( at the max only 4 on each page i-e there are 2 pages ), then the index is wrongly numbered and the arrow (for direction of the pages) are wrongly displayed. The direction of the arrow is pointed to the next page rather pointing to the previous page and the index of numbering of the pages is wrong.
    Request you to please suggest if this is any code fault in the table maintainance activity in the backend (BSP).

    Hi Irina,
    If you mean the number range is skipping 10 numbers in between runs then its because of the buffering in the number range.
    To avoid the buffer influencing the number range, pass
    'X' to the function module parameter: IGNORE_BUFFER.
    This should resolve the problem.
    Cheers,
    Aditya

  • Problem with index.html.  Help!

    I am having a problem with the index.html. In iWeb my site looks perfect. When I publish it to a folder and then open the index certain media is missing but just on one page.
    I have tried deleting the published site from the folder and re-publishing but nothing seems to work. Same result...
    Even more interesting, I uploaded the site almost a month ago and everything was fine until I noticed last week that my pics on one page had been completely erased. What could cause the change? I didn't upload a new version of the site.

    Even more interesting, I uploaded the site almost a month ago and everything was fine until I noticed last week that my pics on one page had been completely erased.
    Please provide your url so we can see what is happening.
    The index.html file plays no role in what you are describing.

  • PC issue.--Problem with index step.

    Hi
    Today our two chains are failed at loading ..
    source is R/3  & update mode is delta.
    Iam corrected the error and loaded the delta again useing repeat option,in cube request showing repeat of last delta.In monitor screen overall status is green but Total status showing is RED.But in cube it is showing green.loaded fine
    For one chain when iam click on repeat on loading step ,it is loaded data fine into cube ,but unfortunately deleting index turned into yellow looking like execuating .This index step avalible on top of the loading step. before index step executed fine, load step is failed.when iam clck on repeat it is went to executing index step. I donot no why..but it is still showing yellow...
    Now my question is, weather chains run tommrow with out any problem with deltas..? because chain still showing red colour.
    Thanks
    Bk

    Hello Krishna Rao
    I will explain clearly we have one PC haveing say 5 steps.1  2  3  4  5.
    Third step is Deleting Index and  Fourth step is Loading into cube.
    Today our chain is failed at fourth step.Iam corrected the error and clicked on the repeat ..loading into cube done fine
    But strangely in went to Third step to execute. that is still in yellow colour .But total chain status is showing red.
    And also in batch monitor job was finished successfully.But in chain index step showing still yellow..
    I think now iam clear for you...
    Bk

  • Problems with Indexing and Classification

    hi KM Gurus,
    We faced some problems in Indexing and Taxonomies for which I would like to know the solution/reason.
    (1) We tried providing query based classification in which the query condition which is based on the "Content" alone worked for us. Whenever we tried specifying conditions based on "file extension" or "title", it didn't work out. Did that work for anybody else?
    (2) Also we are not able to get any proper info about the various options that are available while creating a query based classification. For example, there are two options like "title" and "string title". But we donno the difference b/n the two. If it works out we can find the difference. But it is not working too. So we are not able to find the difference between the two.
    (3) And I tried setting the crawler parameter of my own instead of the standard crawler. But the index was found to be inactive when i set that to my crawler and it worked fine with the standard crawler. I am not able to make it active. Any clues behind this?
    Expect all your guidance and help.
    best regds,
    alagammai.

    Hi Alagammai,
    concerning issues (1) and (2).
    Normally the mentioned properties are displayed as 'Name' and 'Namme as String'.
    These two properties are(in most cases) the title of the document.
    One is indexed  in 'Text' format. The other one in 'String' format. That results into different opportunities within the query based classification.
    'Displayname as String' can be used to sort documents alphabetically: A, B, ... into categories.
    'Displayname' allows you to do a linguistic scan on document titles.
    To separate file types I would use the property MIME-Type.
    But you may try to define a query *.doc for the property 'Name as String'.
    Regards Matthias

  • Problems with indexing

    Hi, I recently encounter a problem with my spotlight.
    I can' t find any files when i Type something ( for example iTunes nothing appears).
    Well, I've tried all the solutions proposed over the the net:
    .Drag the Volume on the privacy tab then remove it
    .Use command in terminal.
    .Delete the spotlightv100 folder.
    The results are the same...it reindexes, but it takes 1 minute
    to reindex; I don't think 1 min is enough to reindex a 60gb hard drive.
    Thanks for the Help

    I've noticed it because each time I requested something in the spotlight ( for exemple I typed the letter F or T )the spotlight proposed me files only from Adobe folder so I thought the problem came from this folder.Then I searched on forums if a file could be a problem and i've noticed people having a problem with this file called XXXviet.html ( i don' t remember the name exactly). So i've deleted and now all is ok.

  • Problem with Indexer

    Hi,
    i am trying to develop a small search engine... currently i am trying to develop STOPLIST..... which iterates through piece of text and extracts different words and their respective frequencies... here is the piece of code which does this :
    ======================================
    for( int c=0; c < lines.size(); c++) {
    temp = lines.elementAt(c).toString();
    temp = temp.toLowerCase();
    st = new java.util.StringTokenizer(temp);
    while( st.hasMoreTokens())
    words.addElement(st.nextToken());
    for( int b=0; b < words.size(); b++) {
    extractedWord = words.elementAt(b).toString();
    for( int a=0; a < words.size(); a++) {
    if( words.elementAt(a).toString().equalsIgnoreCase(extractedWord))
    extractedWordFreq++;
    extractedWords.addElement(extractedWord);
    extractedWordsFreq.addElement(Integer.toString(extractedWordFreq));
    extractedWordFreq=0;
    for( int z=0; z < extractedWords.size(); z++)
    System.out.println("Extracted Terms : " + extractedWords.elementAt(z).toString() + " Freq : " + extractedWordsFreq.elementAt(z).toString());
    ========================================
    the only problem with above code is that .... it takes a long time to
    execute... around 30 seconds....
    Here is the spec of my pc :
    P4 : 512 MB RAM
    The piece of text has around 7500 words
    when i execute this code... and look at my Windows Task Manager....
    CPU usage goes to 100 %.....
    All I wanna know is that ... is there any way to change this code so that it executes more swiftly.....
    thanx in advance
    have fun

    Hi
    I read your previous reply: Vector, Array, StringTokenizer, etc. They are "heavy weight" not concerning to peformance so your code uses brute force.
    I found an example dealing with this issue and I believe to be faster than your but you must to modify details:
    import java.io.*;
    import java.util.TreeMap;
    import java.util.Iterator;
    public class WC {
      public static void main(String args[]) throws IOException {
        if (args.length != 1) {
          System.err.println("Usage: java WC <textfile>");
          System.exit(10);
        File file = new File(args[0]);
        StreamTokenizer stream = new StreamTokenizer(
                                       new FileReader(file));
        // treat any punctuation as word delimiters
        stream.whitespaceChars('!', '/');
        stream.whitespaceChars(':', '@');
        WordFrequencyCounter wfr = new WordFrequencyCounter();
        String word;
        int countNumbers = 0;
        while (stream.nextToken() != StreamTokenizer.TT_EOF)
          if (stream.ttype == StreamTokenizer.TT_WORD) {
            word = stream.sval;
            wfr.count(word);
          else if (stream.ttype == StreamTokenizer.TT_NUMBER) {
            countNumbers++;
        System.out.println("File: " + args[0] + " (" + file.length() + " bytes)"
                           + "\n#lines = " + stream.lineno()
                           + "\n\n#words = " + wfr.size()
                           + "\n#numbers = " + countNumbers + "\n");
        for (Iterator it = wfr.keySet().iterator(); it.hasNext();) {
          word = (String) it.next();
          System.out.println(wfr.frequency(word) + " " + word);
    class WordFrequencyCounter extends TreeMap {
      // first see if this word has already been encountered;
      // if not, then create a fresh counter for it;
      // otherwise, increment its counter
      public synchronized int count(String word) {
        Integer counter = (Integer) get(word);
        counter = (counter == null) ? new Integer(1)
                      : new Integer(counter.intValue() + 1);
        put(word, counter);
        return counter.intValue();
      // find out how many times this word has been encountered
      public synchronized int frequency(String word) {
        Integer counter = (Integer) get(word);
        return (counter == null) ? 0 : counter.intValue();
    }Regards.

  • Problem with indexes, really stuck! Help!!

    Hi,
    I am having a slight problem and don't know how to fix it.
    I have a string with a list of numbers, eg
    strA = "910111213...." and so on up to 22
    I have a method that checks whether there is a word between the numbers and returns a string with the numbers separated by commas which works like this:
    ---- The first number 9 is passed to the method
    ---- It searches for the index of 9 in the string
    ---- Then gets the length of 9
    -----The index of 9 is then added to the length to give the "equivalent" index of the next number in the string
    ----- Then the method gets the index of "9 + 1" i.e. the index of 10
    ---- A comparison is made between the the two indexes and if they are not equal, it means that there is a word between them
    However here is where the problem is. If there is no word between the numbers I expect the method to return a string containing the numbers separated by commas i.e. 9,10,11, 12, 13 etc... However, the string that is returned does not contain the number 21 and this is my thinking of why;
    since 21 actually occurs when transitioning from 12 to 13 .. i.e. "1213", as it would not return the correct index, since it would return an index of "6", instead of "23", so the method meets a stumbling block and is not sure of how to proceed, so does not return 21 in the string, so this is how I went about trying to solve that:
    //originally i grab the indexes like this
    String strA = "910111213141516171819202122"
    int number ;  // number passed to the method
    int nIndex = strA.indexOf(String.valueOf(number)); // get the index of the number in the string
    // find next index using the previous index as the starting point
    int nextIndex = strA.indexOf(String.valueOf(number + 1), nIndex);
    // ideally I would think this would give me the result I expect that is
    String rtnStrA = "9,10,11,12,13,14,15,16,17,18,19,20,21"  // method excludes the last as I don't need that one
    // However, this is what I got
    rtnStrA = "9,10,11,12,13,14,15,16,17,18,19,20"
    // Here is where my hopeful solution begins. I first decided to make a special condition if "number = 21"
    if(number == 21)
         int nextIndex = strA.lastIndexOf(String.valueOf(number + 1), nIndex); // hopefully this would return correct index of 23
    // the returned string still did not include 21, so i next decided to add the difference 17 to the index, since due to "1213" it
    was returning an index of "6".
    // in the above if, I then add 17
    nextIndex += 17;
    // However still did not return the string with 21At this point I really do not know what else to do to get the returned string to include 21
    Any help will be much appreciated....
    Thanks

    About the concept of mutable integer, I would be interested in learning more about utilising that concept and I would appreciate some insight from you.Having no pass by reference in Java, I was tempted to write one a couple of times, simple versions would be
    class MutableInteger{
    public int value;
    }or just passing an int array of size 1.
    Although I wished for it, I always came up with different solutions without the need for one, which I think are cleaner. Wrapping the method in a class so the integer can be a field variable would be one solution, many other times one can get rid of it by rethinking the logic.
    The only times I do use arrays of size 1 is if I have to wrap a computation in a Runnable and need a result of that e.g. for returning. But this stems more from the problem that it needs to be final and mutable the same time.
    int method() {
        final int[] returnValue = new int[] {0};
        someObject.syncExec(new Runnable(){
             public void run() {
                  returnValue[0] = 10;
        return returnValue[0];
    }In your case, you could make a class out of your method like
    class NumberString {
         private final String numberString;
         private final int startNumber;
         private final int endNumber;
         private int currentIndex = 0; // it's now become a field variable, no need to pass it
         public NumberString(String numberString, int startNumber, int endNumber)
              this.numberString = numberString;
              this.startNumber = startNumber;
              this.endNumber= endNumber;
         public boolean hasNextNumber() {
              // are we finished?
         public boolean isNextNumberEmpty() {
              // your computation goes here
    }So the state of your method is wrapped in an object rather than passing it every time (which looks more like a C construct):
    public boolean emptyNumberString(int number, MutableInteger currentIndex)Although this is now more a statement against passing mutable integers, I hope you see my point and you can draw something useful out of it.

  • Problems with index.html

    When I first started using dreamweaver mx 2004 I created my
    site in what I now think might be the wrong way but that was what
    the books that I was using at the time said to do.
    I created a site folder and then I created the homepage. I
    then created two more folders inside the site folder, one called
    text_copy and one called images_copy (in a different website I
    created everything inside the main site folder-images,homepage and
    text files all live together).
    This original method of separating everything has come back
    to haunt me.
    Dreamweaver wants your homepage called index.html and when I
    type in my domain-
    dimension x toys
    the homepage comes up. But the problem is none of the
    javascript pull down menus that I have created work on the
    homepage. They work on all of the other pages in the site but not
    this one. I created another page called index and set it inside the
    main text_copy folder. This page-
    index2
    has the pull downs work but it cannot be accessed as the
    homepage.
    Is the only alternative to
    1. re-create the entire site
    2. move all the information from the other folders out into
    the main folder.
    I hope there is a solution with what I currently have because
    the website is a lot of pages. Option 2 is less work but all of the
    links to the other files and images would be broken and it still
    while less, would be a considerable amount of work as I have a
    great many pages to the website.
    Thank you for your time.
    harlan1s

    you have to change the paths for the root level index page.
    The links won't
    have the same relative path as the ones that are in the
    subfolder.
    did you just copy/paste the menu onto the index page from a
    page in the
    subfolder? Or do a "save as"?
    Look in the head section of the code.
    The sections of javascript that start with mm_menu are the
    instructions for
    how that menu works.
    mm_menu_1215135054_0.addMenuItem("13 INCH FIGURES","location='../t
    ext_copy/batman13family.html'");
    for the root level homepage index.html file, that link should
    be:
    mm_menu_1215135054_0.addMenuItem("13 INCH FIGURES","location='text
    _copy/batman13family.html'");
    Look at the location= part.
    notice i took out ../
    and actually- for the menu on pages IN the text_copy folder
    linking to other
    pages IN the text_copy folder- the correct relative path
    would be:
    mm_menu_1215135054_0.addMenuItem("13 INCH FIGURES","location='batm
    an13family.html'");
    There's no need to go Up a folder, then go down into the same
    current
    folder.
    another way to do it, so it's the same on all the pages,
    would be to use the
    full absolute http path.
    mm_menu_1215135054_0.addMenuItem("13 INCH FIGURES","location='http
    ://www.dimensionxtoys.com/text_copy/batman13family.html'");
    note- those menus have problems and are a maintenence
    nightmare. A menu
    built from tutorials and free extensions at
    http://projectseven.com would
    make life easier and work better.

  • Problems with indexing files from my hard disk

    Hi everybody,
    I'm a newbie to oracle and i'm trying to index files from my hard disk with oracle text. After i created a simple text file (path: 'c:\tmp\test.txt') and filled it with a short text, i executed the following lines without an error message:
    grant connect, resource, ctxapp to myuser;
    create table myuser.testtab(id number primary key, text BFILE);
    create or replace directory test_dir as 'c:\tmp';
    grant read on directory test_dir to myuser;
    insert into myuser.testtab (id, text) values (1, BFILENAME('test_dir','test.txt'));
    create index myuser.idx_test on myuser.testtab(text) indextype is ctxsys.context;
    the record in the table testtab is stored, but the index table is empty. After i tried to get information about the bfile with java i got an SQLException with the Error-Code ORA-22285 after executing the following lines:
    BFILE file = null;
    try{
    rset = stmt.executeQuery("select text from testtab where id = 1");
    if (rset.next()) {
    file = ((OracleResultSet) rset).getBFILE(1);
    System.out.println("Result from fileExists: " + file.fileExists()); //This is the line where the exception is thrown
    } catch (Exception e){
    e.printStackTrace();
    I would be obliged for any information to this problem.
    Thanks in advance,
    Chris J.
    PS: i'm using Oracle 11.2g on Windows 7

    I got your problem. Drop all the directory,table and index. Log in as "myuser" and do all the things. See the demo below. Don't use myuser.object name When executing the commands from "myuser".
    SQL> conn sys@xe as sysdba
    Enter password: ******
    Connected.
    SQL> create table hr.testtab(id number primary key, text BFILE);
    Table created.
    SQL> create or replace directory test_dir as 'c:\';
    Directory created.
    SQL> grant read on directory test_dir to hr;
    Grant succeeded.
    SQL> insert into hr.testtab (id, text) values (1, BFILENAME('test_dir','test.txt'));
    1 row created.
    SQL> ed
    Wrote file afiedt.buf
      1* create index hr.idx_test on hr.testtab(text) indextype is ctxsys.cont
    SQL> /
    Index created.
    SQL> select * from ctxsys.CTX_INDEX_ERRORS;
    ERR_INDEX_OWNER                ERR_INDEX_NAME                 ERR_TIMES
    ERR_TEXTKEY
    ERR_TEXT
    HR                             IDX_TEST                       31-AUG-10
    AAAEjaAABAAAKsKAAA
    DRG-50857: oracle error in drstldef
    ORA-22285: non-existent directory or file for FILEEXISTS operation
    SQL> conn hr@xe
    Enter password: **
    Connected.
    SQL> select * from CTX_USER_INDEX_ERRORS;
    ERR_INDEX_NAME                 ERR_TIMES ERR_TEXTKEY
    ERR_TEXT
    IDX_TEST                       31-AUG-10 AAAEjaAABAAAKsKAAA
    DRG-50857: oracle error in drstldef
    ORA-22285: non-existent directory or file for FILEEXISTS operation
    SQL> conn sys@xe as sysdba
    Enter password: ******
    Connected.
    SQL> drop directory test_dir;
    Directory dropped.
    SQL> conn hr@xe
    Enter password: **
    Connected.
    SQL> create or replace directory test_dir as 'c:\';
    Directory created.
    SQL> drop table testtab;
    Table dropped.
    SQL> create table testtab(id number primary key, text BFILE);
    Table created.
    SQL> set serverout on
    SQL> DECLARE
      2   v_file BFILE := BFILENAME ('TEST_DIR', 'test.txt');
      3   BEGIN
      4   IF DBMS_LOB.FILEEXISTS (v_file) = 1 THEN
      5  DBMS_OUTPUT.PUT_LINE ('File exists.');
      6   ELSIF DBMS_LOB.FILEEXISTS (v_file) = 0 THEN
      7  DBMS_OUTPUT.PUT_LINE ('File does not exist');
      8  ELSE
      9   DBMS_OUTPUT.PUT_LINE ('Unable to test existence');
    10   END IF;
    11   END;
    12  /
    File exists.
    SQL> insert into testtab values (1,BFILENAME ('TEST_DIR', 'test.txt'));
    1 row created.
    SQL> create index idx_test on testtab(text) indextype is ctxsys.context;
    Index created.
    SQL> select * from CTX_USER_INDEX_ERRORS;
    no rows selected

  • Massive insert: problems with indexes (Version 10.2)

    Hi, friends. I am a rookie in Oracle, so I ask us because I have a problem that I can't solve it,
    (in fact it's a inherited problem)
    I want to insert about 4.000.000 records in a table with around 10.000.000 records.
    This table have many foreign keys, a primary key (on an index) and three indexes.
    I try to insert the records with a cursor as this:
    OPEN c_cursor;
    FETCH c_cursor INTO c_record;
    WHILE c_cursor%found LOOP
    INSERT INTO table
    (id,
    VALUES (
    FETCH c_cursorINTO INTO c_record;
    END LOOP;
    commit;
    CLOSE c_cursor;
    The operation takes very long time. So I want to disable/drop indexes at first of cursor and at the end,
    unable-rebuild/create.
    - But when I try disable the indexes with UNUSUABLES (alter index INDEX UNUSABLE), the database
    said me:
    ORA-01502: index 'INDEX' or partition of such index is in unusable state
    It looks that I can't write while the INDEX (also is primary key) is unusable
    - I can't remove the index DROP INDEX 'INDEX':
    ORA-02429: cannot drop index used for enforcement of unique/primary key
    - I can't disable the primary key:
    ORA-02297: cannot disable constraint (INDEX) - dependencies exist
    What would you want in this case?.
    Thanks for all and regards.
    Javi
    Note: I can't do it with sqlldr because the insert requires a treatment (I do it with the cursor).
    Thanks again.
    Edited by: user12249099 on 12-abr-2010 7:04

    Skvaish1, I think that I know less :-( => When I try disable, Oracle says me:
    SQL> alter index PK_ACCACT_ID disable;
    alter index PK_ACCACT_ID disable
    ERROR at line 1:
    ORA-02243: invalid ALTER INDEX or ALTER MATERIALIZED VIEW option
    Why don't i disable the index whith that sentence?. :-O. It's very rare.
    This is the DDL from the table and from the index:
    CREATE TABLE table_name
    (     "ID" NUMBER(10,0) NOT NULL ENABLE,
         CONSTRAINT index_name PRIMARY KEY ("ID")
    USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 16777216 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE tablespace_name ENABLE,
    CREATE UNIQUE INDEX index_name ON table_name ("ID")
    PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
    STORAGE(INITIAL 16777216 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
    PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
    TABLESPACE tablespace_name ;

  • Problem with index.jsp and JSF

    hi all
    I have an index page "index.jsp" in the root directory of deployed project and in that page there is just a <jsp:forward> tag:
    <jsp:forward page="pages/mainPage.jsf" />I am using facelets and I have a template.xhtml
    when I run the browser nothing will be desplayed. by looking at Tomcat console, it seems that it renders the template.xml. if I place the path of the page directly in the address bar of browser, everything is OK
    http://localhost:8080/myproject/pages/mainPage.jsf
    but if I put following, it doesnt work.
    http://localhost:8080/myproject/
    I set the welcome-page to index.jsp in web.xml, and my pages are located in a directory namely "pages"
    any help will be appreciated.
    regards
    Mohammad

    I'm not sure what the problem is exactly. This topic might help though:
    http://forum.java.sun.com/thread.jspa?threadID=696586
    Be sure to read right to the bottom. You may be able to try a couple other things.
    Hope this helps,
    CowKing

Maybe you are looking for

  • ITunes (as well as Quick Time) doesn't work

    Just bought an iPod (Classic Video 160GB) and tried to install iTunes 7.5 (incl. QuickTime 7.3). Installation goes perfectly well. However, when I try to start the programs, the problems begin. QuickTime gives me a 'Buffer Overrun' when I try to star

  • Wallstreet w/OS 8.6 and a Stylewriter 2500?

    This sweet old Wallstreet won't stop working so I need to find a suitable printer......as an earlier topic posted revealed, matching it to a Stylewriter II seems not to be an easily workable option so I found a 2500 on ebay but can find no specs defi

  • Airport Express for Airplay Audio Stream while still using iPhone's 3G/4G Internet?

    I'd like to use an Airport Express to stream music from my iphone via Airplay (AMP > Analog RCA's > Minijack Splitter > Airport Express). Here's the rub: I wont have an internet connection where this setup is located at. Basic networking would make i

  • Starvation in EJB/MDB thread pool ?

    I am re-posting this article including the acronym EJB in the subject so that the EJB experts don't overlook this question. This question was moved from the JMS newsgroup to this newsgroup by a BEA moderator. Our application receives 10 different typ

  • Problem with called Report 6.0 from Forms

    Hi all, I have built a form in 6.0 which calls a Report through a RUN_PRODUCT procedure. I pass a few parameters to send it directly to a printer, but all that comes out is a white page. When i send to the screen, there's no problem. The cause of the