Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: 'Google' for DOORS modules
Topic Summary: efficient 'find' within multiple modules
Created On: 16-Feb-2006 12:33
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 16-Feb-2006 12:33
User is offline View Users Profile Print this message


Andrew Tagg

Posts: 151
Joined: 26-Oct-2004

First up, my apology if this has been covered elsewhere, but I cant seem to find it if that is the case.
 
If you are familiar with the standard search (find) function within DOORS, then you will know that to search for a particular text string within a set of modules can take an awful long time if you have many modules.  As I understand it, the tool opens modules sequentially, searches for the string, then closes the modules, each time dragging the module from server to client to perform the search. ( we have a 'lot' of modules).
 
My users find this frustrating, and often they will manually crash the DOORS client, not quite appreciating that it is actually working and not frozen into an endless loop.
 
What I would like to develop is something akin to "Google" for DOORS.
I already have limited implementation that will trawl all modules overnight, and search for a fixed pattern that we use as a requirement identifier, within the object text  ( no, we don't use the automatic prefix/absolute numbers, but that's another story).  I then output these to a .CSV file, along with the path to the module containing that identifier.  Users can then quickly search the .CSV in excel, and at least find out where the requirement resides.
 
Anyone have any ideas on how to develop this idea further? Ideally I would like a searchable cache of all the object text within all the modules, but cant think how to achieve this other than literally dumping all the object text.  I'm more engineer than computer scientist, so don't know if there are such things as standard algorithms for caching information in this way?  I'm guessing that Google isn't just one big text file containing the whole web :-)
 
Also would anyone be interested in making this into a collaborative project, made available for all that find it useful ?
 
Regards
Andrew.
 
 
 
 
 
 
 
 
 
 


-------------------------
Andrew Tagg
Thales Air Systems, Melbourne
Australia.
andrew.tagg@thalesatm.com
Report this to a Moderator Report this to a Moderator
 16-Feb-2006 13:05
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

The user is constrained to the client GUI for searches -- Telelogic does not have this constraint and could implement a search feature on the server. Perhaps an enhancement request should be sent to Telelogic.
Report this to a Moderator Report this to a Moderator
 16-Feb-2006 16:10
User is offline View Users Profile Print this message


Martin Hunter

Posts: 86
Joined: 10-Jan-2005

<P>Funnily enough I've just been developing a script to do just the same sort of thing. It has options to limit the search to the current folder, include sub-folders or the entire project. I have not gone for the entire database optionĀ but it could certainly be added. It opens each module and although it doesn't cache the results, it certainly gets through a few hundred modules in less than a minute. It certainly runs faster than the Find DOORS tool but I think this is becauseĀ it's only looking in one attribute rather than all attributes within each module.
It is currently being trialed by a few engineers and you are welcome to use the code, but please bear in mind that it has had very little running but it can't do any damage as it's only opening the modules read-only.
The script currently outputs the applicable object attribute text to the DXL interaction window. I'm sure as more people start to give me feedback I will make more enhancements. But this has already become an invaluble tool for traceability / V&V activities.

Martin

</P>

-------------------------
- Martin

Edited: 1-Sep-2008 at 17:34 by Martin Hunter
Report this to a Moderator Report this to a Moderator
 16-Feb-2006 17:29
User is offline View Users Profile Print this message


Tony Goodman

Posts: 1098
Joined: 12-Sep-2002

How google do it.

PigeonRank

-------------------------
Tony Goodman
http://www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 27-Jul-2006 00:15
User is offline View Users Profile Print this message


Pete Kowalski

Posts: 301
Joined: 7-Feb-2003

LOL.

Those pigeons still crack me up.

-------------------------
pete.kowalski(at)motorola.com
Report this to a Moderator Report this to a Moderator
 27-Jul-2006 15:56
User is offline View Users Profile Print this message


Baher Mohamed

Posts: 63
Joined: 21-Jun-2005

quote:

Originally posted by: Pete Kowalski
LOL.



Those pigeons still crack me up.


what do you mean?
Report this to a Moderator Report this to a Moderator
 5-Aug-2008 18:59
User is offline View Users Profile Print this message


Rich Mason

Posts: 26
Joined: 11-Apr-2007

first off, great script. I was looking for a script that would give me a "shall" count for a project. It appears this one doesn't, however, I'm importing the results into a new module and will do a filter to get a shall count that way for a project.

Just my 2 cents on an improvement. I don't code, so I won't even try to modify your script.

Thanks Again

-------------------------
Rich Mason
richard_mason@drsoptronics.com
Report this to a Moderator Report this to a Moderator
 6-Aug-2008 09:48
User is offline View Users Profile Print this message


Simon Haydn

Posts: 22
Joined: 14-Sep-2007

Rich,
I've attached a script that can count the number of "shalls" (as well as "should", "must" and "will"), I found it on this forum originally, but it didn't work.

It lists the details of each line containing your search term and at the bottom will tell you how many occurences appeared - it will also output the same information to a .txt file too. Regards, Simon.

-------------------------
Simon Haydn BSc (Hons)

Requirements Controller
Marshall Aerospace (UK)
Report this to a Moderator Report this to a Moderator
 1-Sep-2008 17:33
User is offline View Users Profile Print this message


Martin Hunter

Posts: 86
Joined: 10-Jan-2005

Rich,

I had updated the script a while ago to add a counter but never thought to update the script on this forum. I've now done that.

-------------------------
- Martin
Report this to a Moderator Report this to a Moderator
 4-Sep-2008 21:34
User is offline View Users Profile Print this message


Rich Mason

Posts: 26
Joined: 11-Apr-2007

Simon and Martin, thanks a lot, exactly what I was looking for.

B/R
Rich

-------------------------
Rich Mason
richard_mason@drsoptronics.com
Report this to a Moderator Report this to a Moderator
 5-Sep-2008 18:55
User is offline View Users Profile Print this message


Rich Mason

Posts: 26
Joined: 11-Apr-2007

and again....just had the chief engineer come in and wanted to look for a specific requirement across 30 or so specs. used this script and handed it to him within minutes. would've taken a lot longer otherwise.

-------------------------
Rich Mason
richard_mason@drsoptronics.com
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.