Question
Hi.
I want to provide a custom search page like that in the Know web. The general WebSearch is a snap to do because of the ==
Warning: Can't find topic "".""
==.
However, the custom parts seem very cumbersome to do, error-prone, not-automatically-updated, etc.
Am I missing the easy way to create the equivalent of "Query by Classification"? (See the Edit view of the Know web's Search topic.)
I found nothing in the answered questions on point. The topic
SearchUsingMulitpleFormValues (resp.
SearchUsingMultipleFormValues) had some promise, but was not close enough.
Thanks ... cheers, drl
Environment
--
DennisLienke - 08 Jul 2004
Answer
Not exactly sure I understand your question.
BugReport and
TWikiInstallation have a filter where you can run queries by example. Edit those pages to see how it works.
--
PeterThoeny - 11 Jul 2004
Hi. Thanks for the response.
More specifically, here is the code for the "Queryby Platform" in Know.Search (lines split for readability):
* <B>Query by platform</B>: * <A
HREF="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/?scope=text®ex=
on&search=% 4FperatingSystem.%2AOsHPUX">HP-UX</A>, <A
HREF="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/?scope=text®ex=
on&search=%4FperatingSystem.%2AOsLinux">Linux</A>, <A
HREF="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/?scope=text®ex=
on&search=%4FperatingSystem.%2AOsSolaris">Solaris</A>, <A
HREF="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/?scope=text®ex=
on&search=%4FperatingSystem.%2AOsSunOS">SunOS</A>, <A
HREF="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/?scope=text®ex=
on&search=%4FperatingSystem.%2AOsMacOS">Mac OS</A>, <A
HREF="%SCRIPTURLPATH%/search%SCRIPTSUFFIX%/%WEB%/?scope=text®ex=
on&search=%4FperatingSystem.%2AOsWin">Windows</A>
Notice how the platforms are coded explicitly. That's the part that seemed onerous to me. For example, suppose we want to add Xanados to the list of platforms. That's relatively easy in the form topic (as I understand it), but then we would want to the custom search to have that as well, and, with the code above, we'd need to do the modification manually each time we added a platform.
Although I have not yet tried it, the custom query in
BugReport seems to handle my question. An additional answer seems to be that the custom search in the demo Know web is simply not as sophisticated as that in the
BugReport topic ... cheers, drl
--
DennisLienke - 11 Jul 2004