Buwanang Archive: Abril 2008

FAST SharePoint Pagsasama: Halimbawang Code upang Ipakita ang lahat ng mga magagamit na FAST Pananaw

Narito ang ilang mga code na nagpapakita ng lahat ng magagamit na tanawin mula sa isang FAST server batay sa mga pangalang QRServer (ang proseso ng server na kung saan namin makipag-usap). I offer this up to give you all a taste of what it’s like to use the provided FAST API.

paggamit Sistema;
paggamit System.Collections.Generic;
paggamit System.Linq;
paggamit System.Text;
paggamit Com.FastSearch.Esp.Search;
paggamit Com.FastSearch.Esp.Search.Http;
paggamit Com.FastSearch.Esp.Search.Navigation;
paggamit Com.FastSearch.Esp.Search.Query;
paggamit Com.FastSearch.Esp.Search.Result;
paggamit Com.FastSearch.Esp.Search.View;
paggamit System.Collections.Specialized;
paggamit System.Collections;


namespace Conchango
{
    klase EnumerateFASTViews
    {
        statik walang bisa Pangunahin(pisi[] args)
        {

            ISearchFactory searchFactory;

            NameValueCollection nameValueCollection = bago NameValueCollection();

            nameValueCollection.Add("fastsearchengine", "Com.FastSearch.Esp.Search.Http.HttpSearchFactory");
            nameValueCollection.Add("Com.FastSearch.Esp.Search.Http.QRServers", "fastdemoback:15100");
            nameValueCollection.Add("Com.FastSearch.Esp.Search.Http.RequestMethod", "GET");

            searchFactory = SearchFactory.NewInstance(nameValueCollection);

            Mag-aliw.WriteLine("Total Views: [" + searchFactory.GetSearchViewList().Bilangin + "].");

            int i = 0;

            foreach (bagay o sa searchFactory.GetSearchViewList())
            {
                Mag-aliw.WriteLine("View [" + i     + "]: [" + o.ToString() + "].");

            }

            Mag-aliw.ReadLine();

        }
    }
}

Tandaan na isaalang-alang ko ang aking sarili ng bahagya karampatang C # programmer at mayroon akong manipis na balat, kaya huwag magpadala ng anumang mga raspberries aking paraan, lalo na muli: the "foreach (ang bagay at …)" construct 🙂

</dulo>

Technorati Tags: ,

Mag-subscribe sa aking blog.

FAST at SharePoint Pagsasama First Look

Ko pa masuwerteng upang magkaroon ng pagkakataon upang gumana sa isang FAST <–> SharePoint integration proyekto at naisip ko magpatuloy upang ibahagi aking limitadong karanasan sa komunidad.

Microsoft ay sa ang proseso ng pagbili FAST. I don’t know anything about the schedule except that it should be finished in the "2nd quarter" kung saan ipinapalagay ko paraan 06/30/08.

Aking disenyo proyekto, sa isang napakataas na antas, tawag para sa paglikha ng ilang mga bahagi ng web na may halos ang parehong hitsura, pakiramdam at pag-andar tulad ng karaniwang Moss kahon sa paghahanap at mga resulta ng core web bahagi, but pulling from FAST. I’ve made some baby steps in that direction.

FAST is a dedicated search engine. It’s not based on Microsoft technology, bagaman ito ay kitang-kita sa akin na ang ilan sa FAST inhinyero malinaw na maunawaan MS tech (o ginawa nila paggamit ng mga kontratista).

FAST:

FAST ay isang malaking produkto halimaw server (at hindi ko ibig sabihin na sa isang masamang pakiramdam; Moss ay isang malaking produkto halimaw sa akin pati na rin). It appears to be based on Java and I noticed some apache stuff and maybe some PHP. I wouldn’t be surprised if there were other bits of tech mixed in here and there. It definitely runs on windows server and is working fine in the virtual environment which I’ve been using.

It makes use of a facade web service that crawls SharePoint content for indexing in its special FAST way.

A SharePoint end user would be pretty much at home with FAST’s user interface. It has simple/advance search, mga palabas sa mga resulta, ay malaki sa kaugnayan (bagaman hindi ko makita kung paano nito pinangangasiwaan panlipunan kaugnayan). Gayunman, it does go further. Its stemming seems better. I really can’t articulate it well but I’ll just say "it’s better." You can take my word for it, or not 🙂 I may elaborate on this point in the future, bilang ko matuto nang higit pa.

Lumot:

FAST provides a .NET-friendly DLL that provides an interface to the FAST engine. This makes it possible for us to create web parts or application pages or whatever we want to query FAST and present the results.

Mukhang isang web interface ng serbisyo pati na rin.

I also have access to a FAST-provided web part that does integrate MOSS and FAST. I don’t know if this is a POC, something that was whipped up as a demo or what. It’s definitely a good learning tool, hindi kaya sigurado kung ito ay produksyon-handa na.

That’s it for now. As I progress through the project, Kukunin ko mag-post nang higit pa.

</dulo>

Technorati Tags: , ,

Mag-subscribe sa aking blog.