Odredite Fast port QRServer

Kako bi se komunicirati s FAST Search putem API, moramo znati port na kojem je pokrenut QRServer.

Pratio sam ove korake da biste ga pronašli:

  1. Prijavite se u FAST admin stranice (http://server:port/admin).
  2. Idite na Pregled sustava.
  3. Locate "Search Dispatcher" i kliknite na ikonu spyglass:

    slika

  4. Ja sam uspješno koristio vrijednost, 15100 for "Info Name" = "http":

    slika

Bilješke:

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

2. Koristite ovaj kod sličan sljedećeg instancu vezu na post:

     ISearchFactory searchFactory;
    
        NameValueCollection nameValueCollection = novi 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. Ako odaberete mahnito netočan luku, ćete dobiti korisne poruku o pogrešci:

slika

4. Međutim, Ako odaberete broj porta naveden na pregled (15102) you don’t get that helpful error message. Umjesto toga, kasnije, kada pokušate pristupiti podatke putem pretrage ili upućivanje na FAST pogled, 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".

</kraj>

Technorati Tags:

Pretplatite se na moj blog.

Jedna misao o „Odredite Fast port QRServer

  1. Alvin

    I found this extremely useful, Pavle. 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.

Ostavite odgovor na Alvin Odustani odgovor

Vaša email adresa neće biti objavljena. obavezna polja su označena *