Records in this category

Sticky FAQs

»

ID #1060

We are trying to integrate the federated search engine into our site by adding a html form. Everything seems ok only that the search does not start.

The reason why the search is not automatically starting when using the following search form:

 <form name="logonForm" action="http://www.museserver.com/muse/servlet/MusePeer" target="_blank" method="get" onsubmit="return beforeSubmit()">
 <input type="text" name="query" size="30" value=""/>
 <input type="submit" name="submit" value="Search"/>
 <input type="hidden" name="action" value="logon" />
 <input type="hidden" name="userID" value="applicationid" />
 <input type="hidden" name="userPwd" value="applicationpassword" />
 <input type="hidden" name="languageCode" value="" />
 <input type="hidden" name="templateFile" value="/passThrough.html" />
 <input type="hidden" name="eQuery" value="" />
 </form>

is that there are no SP targets provided on which to perform the search.

Specifying/providing the SP targets can be done in 2 ways:

a) Setting in the application the default sources for the searches. This can be done using the Muse Console for Customer Support or Muse Console for Applications Administration as follows:
- login into the Muse Console for Customer Support or Muse Console for Applications Administration, select the desired application and click on the "Setup and Organize Sources" left menu item;
- go to "Organize Sources" left menu item and click on the "Update Interface" sub-item;
- in the right section of the "Update Interface" panel check the Source Packages that should be selected as default from each defined group;
- press the Update button; this will update the interface for the default language with the selected Source Packages; if you want to specify default selected Source Packages for other languages available than the default one, select the desired language from the "Language" combobox and make the same operations, e.g. select the sources and press the "Update" button.

b) Extend the HTML form presented below and include the targets on which to perform the search. For example if one wants to perform the search on the XX and YY SPs, add the following lines inside the form:
    <input type="hidden" name="dbList" value="XX" />
    <input type="hidden" name="dbList" value="YY" />

The dbList parameter is documented in the "2.0 Use of MusePeer - Auto-logon and Pass-through mechanisms" chapter from the Muse Web Bridge Communication Interface.pdf document.

The Source Packages installed in a Muse application can be seen in the Muse Administrator Consoles (Muse Console for Customer Support or Muse Console for Applications Administration) as follows:
- login into the Muse Console for Customer Support or Muse Console for Applications Administration console, select the desired application and click on the "Setup and Organize Sources" left menu item;
- the source IDs (dbList values) are in the "ID" column of the sources listing.

 Additionally, another parameter could be added: "reuseSession=true" parameter (also documented in the above mentioned chapter) in the HTML form so that the sessions are reused for consecutive usage of the passthrough form from the same end-user. For this add int he form above:

    <input type="hidden" name="reuseSession" value="true" />

Categories for this entry

Tags: default, extern, form, integrated, integration, passthrough, search, sources

Related entries: -

Last update: 2014-06-11 11:21
Author: Administrator
Revision: 1.6

Print this record Send FAQ to a friend Show this as PDF file
Rate this FAQ

Average rating: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry

powered by phpMyFAQ 2.7.2