Skip to main content
ermphd
Inspiring
September 30, 2009
Question

Search NOT working in AIR

  • September 30, 2009
  • 2 replies
  • 1973 views

I just viewed Jaquez's video on how to create the AIR help the other day. The current project is reasonable sized, 150 topics. The Webhelp works quite well as a demo we just did yesterday got goor responses from a main marketing person and a VP. When I used the procedure I learned in the video to create the air help (dummy digital cert) RH generated the AIR help, but the search does not work? I just saw a sample of an AIR help that Peter G. put together and that search seemed to work. Any idea, folks?

    This topic has been closed for replies.

    2 replies

    ermphd
    ermphdAuthor
    Inspiring
    February 3, 2010

    Update Reliable Workaround Found!

    I just sucessfully combined topics from 4 modules into 1 RH project and made the AIR file output.


    Before I was able to do this task I had to figure out a workaround when the AIR search breaks (Trust me it tends to break from time to time when one is adding to or  working on a project)


    We have several people doing RH here at this time and Rita is maintaining the KBase that I was loading with the other topics. Her search had broke the day before and I told her to stand down until I sorted it out.


    I retrieved the last backups from the shared drive (RH Souce control is still a month off) and looked inside the project.


    I noticed that the backup .cpd file was almost 800K smaller than the one Rita had in her PC. So, I remembered a fix from the forums (Peter and Rick, Thanks guys) and deleted the .cpd file which RH rebuilds when you reload the project.


    Presto, the new .cpd file was less than 1/3 the prior size and the search worked perfectly!


    I built the combined project testing the search (view and install) locally after I imported each folder of topics. At one point when the .cpd file was almost 3meg, the search broke again. I deleted it and the new one was less than 1/2 the size of the old one. Search worked after the 2nd deletion as before. Hooray!


    Conclusion: If the AIR search breaks:

    1. Look at the .cpd file
    2. If over 2meg
      1. Close the project
      2. Delete the file
      3. Open the project
    3. Problem solved (see attachment)
    ermphd
    ermphdAuthor
    Inspiring
    October 9, 2009

    Praful Jain found an illegal 4 byte character in a .pdf file inside the project that caused the problem. The .pdf is a manufacturer's manual for a handheld scanning device. Thanks Praful. Problem solved!

    Participant
    October 28, 2009

    Hi there,

    I'm facing the same issue you had. In fact, as soon as I import PDF file into my AIRHelp project I got the search function not working...

    Is there a way to fix that without avoiding PDF into the project?

    I need some PDF to be inserted into the project directly.

    Many thanks in advance for any answer!

    Regards,

    Mateo

    ermphd
    ermphdAuthor
    Inspiring
    October 28, 2009

    Hi Matt,

    Hmmm. Praful found the illegal character, a square bullet that was apparently a typo.

    Praful said that the character was 4 bytes which is  what made it illegal. 

    I am not sure what characters are in this "non-supported" category. Perhaps Adobe can supply a list?

    For the .pdf to be searchable it must be in the project and not a link, obviously.

    Also, I did retest the .AIR module after I did some project cleanup, removing some bad topics and folders. In the first AIR gen, I got an error. As a gray haired geek type, I just gened again and the search worked the 2nd time.  So persistence pays off, at least sometimes

    Ed