Arkivji ta 'Kull Xahar: April 2008

Integrazzjoni SharePoint FAST: Kodiċi Kampjun li juru l Views FAST Disponibbli

Here is some code that shows all available views from a FAST server based on the named QRServer (l-proċess server li nikkomunikaw). I offer this up to give you all a taste of what it’s like to use the provided FAST API.

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


namespace Conchango
{
    klassi EnumerateFASTViews
    {
        statiku null Main(string[] args)
        {

            ISearchFactory searchFactory;

            NameValueCollection nameValueCollection = ġdid 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);

            Console.WriteLine("Total Views: [" + searchFactory.GetSearchViewList().Għadd + "].");

            int i = 0;

            foreach (object o fil searchFactory.GetSearchViewList())
            {
                Console.WriteLine("View [" + i   + "]: [" + o.ToString() + "].");

            }

            Console.ReadLine();

        }
    }
}

Note that I consider myself a barely competent C# programmer and I have thin skin, so don’t send any raspberries my way, especially re: the "foreach (object o in …)" construct 🙂

</aħħar>

Tags: ,

Abbona għall-blog tiegħi.

FAST u SharePoint Integrazzjoni Ħares Ewwel

Stajt ġiet xxurtjati li jkollhom l-opportunità li jaħdmu fuq FAST <–> Proġett ta 'integrazzjoni SharePoint u ħsibt I d tkompli jaqsmu esperjenza limitata tiegħi mal-komunità.

Microsoft huwa il-proċess ta 'xiri FAST. I don’t know anything about the schedule except that it should be finished in the "2nd quarter" li tassumi I mezzi 06/30/08.

Disinn tal-proġett tiegħi, fuq livell għoli ħafna, jappella għall-ħolqien ta 'partijiet tal-web ftit li jkollhom bejn wieħed u ieħor l-istess dehra, jħossu u l-funzjonalità kif l-kaxxa standard tfittxija MOSS u qalba riżultati web part, 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, għalkemm huwa ovvju għalija li xi wħud mill-inġiniera FAST jifhmu b'mod ċar MS tech (jew li ħadthom għamlu użu ta 'kuntratturi).

FAST:

FAST huwa prodott kbir server monster (u jien ma jfissirx li f'sens ħażin; MOSS huwa prodott monster kbar lili kif ukoll). 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, riżultati turi, huwa kbir fuq relevanza (għalkemm I ma tara kif mankijiet relevanza soċjali). Madankollu, 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, bħala I jitgħallmu aktar.

MOSS:

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.

Jidher li hemm interface servizz web kif ukoll.

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, mhux hekk ċert jekk huwa produzzjoni lesta.

That’s it for now. As I progress through the project, I ser post aktar.

</aħħar>

Tags: , ,

Abbona għall-blog tiegħi.