$$Searchtemplatedefault on the web

I’ve basically created a document library on the web which pulls in embedded views through a $$viewtemplatedefault form. On this form I also have a field with a search button that has the following code in it:

if(document.forms[0].KeyWord.value != “”) {

var key = document.forms[0].KeyWord.value;

var view = document.forms[0].viewName.value;

urlcommand = view + “?SearchView&Query=” + key;

window.open(urlcommand,‘_top’);

return true;

}

Now I also have a $$searchtemplatedefault form that shows the results that this button creates.

I would like to do two things:

  1. Give the user the ability to refine their search by searching for additional words while they’re in their search results.

  2. Be able to search through not just the subject of the documents, but also the date the documents were created.

-I typed in the dates and no results come up.

Any suggestions?

Subject: $$Searchtemplatedefault on the web

You could…

  1. Store their original SearchView value then append their “refined” variables to it.

  2. Check out the URL below. It has some tips for full text searching. You should be able to do [YOURDATE] < 01/05/2000

http://www-1.ibm.com/support/docview.wss?uid=swg27003210