Xyuas seb cov chaw nres nkoj QRServer vas NTHIV

Kom thiaj sib txuas lus nrog ceev kev tshawb fawb ntawm nws qhov API, peb yuav tsum paub qhov chaw nres nkoj khiav hauv lub QRServer khiav.

Kuv raws li cov kauj ruam mus nrhiav nws:

  1. Teev rau hauv lub site YOO admin (http://server:port/admin).
  2. Next rau lawv tus txheej txheem cej luam.
  3. Nrhiav "nrhiav Dispatcher" thiab nias rau lub icon spyglass:

    duab

  4. Kuv ntse siv tus nqi, 15100 rau "Info npe" = "http":

    duab

Sau ntawv:

1. Chaw nres nkoj 15100 raug lub neej ntawd tawm-ntawm-tus-qhov chaw nres nkoj tooj rau cov QRServer.

2. Siv txoj zoo xws li cov nram no mus instantiate ib kev twb kev txuas mus rau vas NTHIV:

     ISearchFactory searchFactory;
    
        NameValueCollection nameValueCollection = tshiab 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", "TAU");
    
        searchFactory = SearchFactory.NewInstance(nameValueCollection);

3. Yog hais tias koj ib wildly tsis yog chaw nres nkoj de, tau lus yuam kev uas yuav pab tau koj:

duab

4. Txawm li cas los, Yog hais tias koj tus nab npawb chaw nres nkoj uas teev rau hauv tus txheej txheem cej luam de (15102) koj tsis tau uas yuam kev uas yuav pab tau lus. Xwb, tom qab thaum koj sim ua tej ntaub ntawv los ntawm ib tug mus nrhiav los sis reference tus ceev kev pom, koj yuav tau ib qho kev ua yuam kev. Debugging qhia tau hais tias cov ntawv searchFactory saib suav yog xoom. Koj yuav tau muab cov lus "Failed mus nqa mus nrhiav saib daim ntawv".

</kawg>

Ntawv cim npe Technorati:

Subscribe rau kuv blog.

Ib tug xav rau"Xyuas seb cov chaw nres nkoj QRServer vas NTHIV

  1. Alvin

    Kuv nyob nov tsham, Paul. Tsaug rau kev sib koom no. Kuv tau yuav xa tsis tau rau tej kev ceev thiab thaum kawg thiab kuv twb tau tau ua rau kom rov qab kws ua choj lub ESP Web site qhov project hauv codeplex tsim ib cov tsab ntawv pov thawj-of-tswvyim.

    Teb

sau ntawv cia

Koj email chaw nyob yuav tsis muab luam tawm. Search cim *