Bugs item #850134, was opened at 2003-11-27 01:43
Message generated for change (Settings changed) made by shawnkhall
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=432066&aid=850134&group_id=42081

Category: Search
Group: None
>Status: Closed
Resolution: None
>Priority: 1
Submitted By: Tony Linde (tonylinde)
Assigned to: Nobody/Anonymous (nobody)
Summary: Lose canned searches

Initial Comment:
I'd like to lose all the canned searches but still retain 
the history feature of the menu. 

I tried moving all the xml files out of the searches 
directory (except configure.xml) and that dropped all 
the canned stuff but also lost all the history and any 
search then failed with 'An error ([object Error]/Object 
expected) occurred while trying to run the search "gg"'.

Not sure if this is a bug or a feature. If no-one is 
supposed to touch the searches directory, then I'd like 
a new feature which allows amendment of the canned 
searches (categories and items). If it is okay to mess 
around in the searches directory then please see the 
above bug(s).

----------------------------------------------------------------------

Comment By: Shawn K. Hall (shawnkhall)
Date: 2003-11-27 04:52

Message:
Logged In: YES 
user_id=219805

Hi Tony,

You cannot remove all 'canned' searches since some of them 
are required by dqsd itself. "gg" - aka "the google search" 
- 
for example, is the 'default search', and unless you at least 
change this default search you will not be able to delete that 
file without receiving errors.

If you're wanting to disable searches that you do not intend 
to use you can do so very easily by typing "?" (without the 
quotes) into DQSD and unchecking the boxes next to the 
searches you do not want enabled.

If you're really wanting to physically remove as many 
searches as possible you can delete all the files in the 
searches directory except for:
  anywho.xml (used for autodetection of phone numbers)
  curr.xml (used for autodetection of currency conversions)
  gg.xml (the default search)
  qsfind.xml (provides the help-system interface)
These are defined in the def() function in search.htm and the 
defer_tools.js file if you want to completely eliminate reliance 
on those as well.

After that - you'll need to edit the aliases.txt and 
localaliases.txt files under the install directory to remove any 
aliases to searches that are no longer in use. Aliases are 
essentially shorter references to existing searches or 
specialized parameterizations of existing searches - in either 
case, if the search that it references does not exist you will 
receive an error. The left side of the pipe is the alias, the 
right side is the search behaviour, the first few characters of 
which is the search reference it relies on.
For example:
  -|fst
Relies on the fst.xml file.

Would you mind if I as what the point is? Why would you 
want to delete all of the searches? Wouldn't it be easier to 
simply uninstall DQSD via add/remove programs? ;)

----------------------------------------------------------------------

Comment By: Kim Gr�sman (kimgrasman)
Date: 2003-11-27 04:16

Message:
Logged In: YES 
user_id=551308

gg.xml *is* the default search (Google), so it must be 
preserved for DQSD to do any searching.

curr.xml handles the currency conversion aliased by USD>SEK, 
so if you need that alias, you should leave that as well.

I'm not entirely clear on what further "hard-coded" 
dependencies there are.

As for the history, I don't know.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=432066&aid=850134&group_id=42081


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Archive: https://lists.sourceforge.net/lists/listinfo/dqsd-devel

Reply via email to