![]() |
Telelogic System Architect (steve huntington) | ![]() |
Topic Title: String Search in the content of generated documents Topic Summary: search string in file / Java script Created On: 14-Jun-2007 12:50 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello, I would like to search for a string in the generated documents from the IWP. When I use the IWPIndexGenerator.exe, it generates and index consisting of an array of strings which contain basically the name of the generated files.
That is, I can search for all filenames that contain a particular search string/pattern. What I cannot do is search for all files that contain the pattern. Is there a way to configure the IWPIndexGenerator to produce a more detailed index which includes the contents of the files? Thanks Michael |
|
![]() |
|
![]() |
|
Michael - we ran into the same problem - so rather than try to get a change to the IWPIndexGenerator, I wrote a little utility that parses through the table that IWPIndexGenerator creates and adds text from the definition descriptions to it. This is not an ideal solution for many reasons, but it works for us right now. However, in general the search capability in the published sites as delivered is not very pretty. I am currently looking for a better way to index and search our published sites since searching sequentially through a table gets to be too slow for larger sites.
I would be happy to send you the code we are using (no warranties, blah, blah, blah). But if anyone is using a different search capability in place of the delivered search, I would love to hear about that. |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.