Iddetermina Port QRServer FAST

Sabiex jikkomunika mal FAST Fittex permezz API tagħha, għandna bżonn inkunu nafu l-port li fih il-QRServer qed taħdem.

I segwita dawn il-passi sabiex tiġi lokalizzata:

  1. Log fis-sit admin FAST (http://server:port/admin).
  2. Mur Sistema Overview.
  3. Locate "Search Dispatcher" u kklikkja l-ikona spyglass:

    immaġni

  4. I użata b'suċċess il-valur, 15100 for "Info Name" = "http":

    immaġni

Noti:

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

2. Uża din il-kodiċi simili għal dawn li ġejjin li instantiate xi konnessjoni ma FAST:

     ISearchFactory searchFactory;
    
        NameValueCollection nameValueCollection = ġdid 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. Jekk inti pick port wildly żbaljata, ikollok messaġġ ta 'żball utli:

immaġni

4. Madankollu, jekk inti pick-numru tal-port elenkati fuq il-ħarsa ġenerali (15102) you don’t get that helpful error message. Minflok, aktar tard meta inti tipprova l-aċċess kwalunkwe data permezz ta 'tfittxija jew referenza ħsieb 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".

</aħħar>

Tags:

Abbona għall-blog tiegħi.

Wieħed ħasbu dwar "Iddetermina Port QRServer FAST

  1. Alvin

    Sibt dan estremament utli, Paul. Grazzi għall-qsim dan. I ma jkunux intbagħtu fuq kwalunkwe kors ta 'taħriġ fast u stajt ġiet jippruvaw li jaħdmu l-proġett partijiet web ESP fil CodePlex li tibni prototip prova tal-kunċett.

Ħalli Irrispondi

Your email address mhux se jkun ippubblikat. Meħtieġa oqsma huma mmarkati *