Tukuyin FAST QRServer Port

In order to communicate with FAST Search via its API, we need to know the port on which the QRServer is running.

I followed these steps to locate it:

  1. Log into the FAST admin site (http://server:port/admin).
  2. Navigate to System Overview.
  3. Locate "Search Dispatcher" and click the spyglass icon:

    imahen

  4. I successfully used the value, 15100 for "Info Name" = "http":

    imahen

Mga Tala:

1. Port 15100 appears to be the default out-of-the-box port number for the QRServer.

2. Gamitin ang code na kamukha ng mga sumusunod upang magbigay ng halimbawa ng koneksyon sa FAST:

     ISearchFactory searchFactory;
    
        NameValueCollection nameValueCollection = bago NameValueCollection();
    
        nameValueCollection.Add("fastsearchengine", "Com.FastSearch.Esp.Search.Http.HttpSearchFactory");
        nameValueCollection.Add("Com.FastSearch.Esp.Search.Http.QRServers", "fastdemoback:15102");
        nameValueCollection.Add("Com.FastSearch.Esp.Search.Http.RequestMethod", "GET");
    
        searchFactory = SearchFactory.NewInstance(nameValueCollection);

3. Kung pumili ka ng isang wildly maling port, kumuha ka ng isang kapaki-pakinabang na mensahe ng error:

imahen

4. Gayunman, kung piliin mo ang port number na nakalista sa pangkalahatang-ideya (15102) you don’t get that helpful error message. Sa halip, mamaya kapag sinusubukan mong i-access ang anumang data sa pamamagitan ng isang paghahanap o banggitin ang isang view ng FAST, you get an error. Debugging shows that the searchFactory’s view count is zero. You’ll be given the message "Failed to fetch Search View List".

</dulo>

Technorati Tags:

Mag-subscribe sa aking blog.

Isa naisip sa "Tukuyin FAST QRServer Port

  1. Alvin

    I found this extremely useful, Paul. Thanks for sharing this. I have not been sent on any fast training course and I’ve been trying to reverse engineer the ESP web parts project in codeplex to build a proof-of-concept prototype.

    Sumagot

-Iwan ng sagot

Ang iyong email address ay hindi nai-publish. Mga kinakailangang patlang ay minarkahan *