CFINDEX stops responding

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default CFINDEX stops responding

    We are trying to index with TYPE=PATH a directory which contains roughly 20k
    files. These files are a collection of HTML, DOC, and PDF. I have tried
    multiple times to index this directory using CFINDEX. Though according to the
    task manager the index has completed in roughly 20-30 minutes the CFINDEX CFM
    template does not respond. Furthermore my post CFINDEX processing tags do not
    fire off either. I have ommitted all file extensions except HTM/HTML and still
    get the same result. However, in the end the index is healthy and I can bounce
    criteria off of it with CFSEARCH. It does seem intact. Any suggestions? I
    would like to schedule this CFM template to run nightly but fear that we will
    run into problems since the post CFINDEX processing tags deletes certain
    black-listed keys from this particular site -- very imporant. -- Rich

    Rich_Willmore Guest

  2. Similar Questions and Discussions

    1. Contribute stops responding when publishing
      I am using Contribute 3 and DW 8. I have created a publisher user that can open and edit files without a problem. However, when he tries to either...
    2. Server stops responding to requests, vague error
      Our site is experiencing the same errors. Win 2003, IIS, CF 6.1, SQL 2k Ent. Did you find a solution?
    3. FM Pro stops responding on search via ASP/ODBC
      Hi, I'm not a filemaker developer so please forgive me if this is insultingly easy or stupid! I am having problems trying to run a SQL query...
    4. IIS 6.0 stops responding
      My company has jsut upgraded to WIN 2003 Web Edition IIS 6.0. With the upgrade IIS is locking on one of our websites, when go to log in the page...
    5. Photoshop stops responding on startup
      Ok, so I click on Photoshop 7... then the window will come up, but just the Photoshop window with grey background... now usually the little...
  3. #2

    Default Re: CFINDEX stops responding

    Any help??

    -- Rich
    Rich_Willmore Guest

  4. #3

    Default Re: CFINDEX stops responding

    What version CF?

    Does the index work if you break the work in to smaller chunks? Is there a
    particular file or directory that causes the template to get stuck?

    --
    Tom Jordahl
    Macromedia Server Development


    Tom Jordahl Guest

  5. #4

    Default Re: CFINDEX stops responding

    I have the same problems with indexing if anything else is happening on the
    server at the same time. So, what I do is run an initial, manual index on the
    really large collections from the administrator last at night (when I know
    there will be no activity) and then have a sceduled task to run every night
    that is designed to update all the documents. I am sucessful updating about
    50k documents a night with this method.

    robstacey Guest

  6. #5

    Default Re: CFINDEX stops responding

    We are CF 6.1 w/ latest patches etc... The CFINDEX does not seem to stop on a
    particular file or file type. I do have better luck when indexing smaller
    chunks of the data with CFINDEX.

    Indexing via CF admin does seem to work better and updating the index on a
    scheduled interval would pick up all the newly added documents. The problem
    (to the best of my knowledge) is deleting the KEY(s) from the index once a file
    has been removed. I do not believe UPDATE will do that -- may be wrong. So
    scheduling a nightly REFRESH was going to be our approach.

    Many many thanks for the help thus far.

    -- Rich

    Rich_Willmore Guest

  7. #6

    Default Re: CFINDEX stops responding

    Refresh will purge then update the collection, thereby deleting the keys and
    readding them. Update will just add the new keys. So, if you have a lot of
    changes in what you are indexing then yes, refresh is better, but will take
    considerably longer to accomplish than update would. Just as a point of
    reference, to run an update on all my collections takes 4-5 hours a night.

    robstacey Guest

  8. #7

    Default Re: Replacing " with Anything

    Try
    <cfset L_displayvolume = Trim(Replace('#L_displayvolume#', Chr(34), "XXXX", "All"))>
    trjlove Guest

  9. #8

    Default Re: Replacing " with Anything

    <cfset L_displayvolume = Trim(Replace(L_displayvolume, Chr(34), "XXXX", "All"))>

    Tried the above suggestion. Didn't work. Any other ideas? I could work
    around it but some of my input files have the quotes and some don't.

    Thanks...

    CoachChip Guest

  10. #9

    Default Re: Replacing " with Anything

    CoachChip,

    I had to do this before (a few months back), so this is from memory, which is
    rather shoddy nowadays.

    I believe I used the escape character rather than Chr(34).

    Something like Replace(myString, '\"', "XXXX", "All") I think should work.
    Single quote, backslash, double quote, single quote.

    - Lemme know if that works.

    - Shawn


    shawnwindler Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139