maandelikse Argiewe: April 2008

FAST SharePoint integrasie: Voorbeeld kode alle beskikbare vinnige besigtingings om te vertoon

Hier is 'n kode wat toon al die beskikbare menings van 'n FAST bediener wat gebaseer is op die genoemde QRServer (die bediener proses waarmee ons kommunikeer). I offer this up to give you all a taste of what it’s like to use the provided FAST API.

die gebruik van Stelsel;
die gebruik van System.Collections.Generic;
die gebruik van System.Linq;
die gebruik van System.Text;
die gebruik van Com.FastSearch.Esp.Search;
die gebruik van Com.FastSearch.Esp.Search.Http;
die gebruik van Com.FastSearch.Esp.Search.Navigation;
die gebruik van Com.FastSearch.Esp.Search.Query;
die gebruik van Com.FastSearch.Esp.Search.Result;
die gebruik van Com.FastSearch.Esp.Search.View;
die gebruik van System.Collections.Specialized;
die gebruik van System.Collections;


namespace Conchango
{
    klas EnumerateFASTViews
    {
        statiese nietig Main(string[] argumente)
        {

            ISearchFactory searchFactory;

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

            Troos.WriteLine("Total Views: [" + searchFactory.GetSearchViewList().Tel + "].");

            int i = 0;

            foreach (voorwerp die in searchFactory.GetSearchViewList())
            {
                Troos.WriteLine("View [" + i     + "]: [" + o.ToString() + "].");

            }

            Troos.Read line();

        }
    }
}

Let daarop dat ek beskou myself as 'n skaars bekwame C # programmeerder en ek het 'n dun vel, stuur nie enige frambose my pad, veral weer: the "foreach (voorwerp o in …)" construct 🙂

</einde>

Technorati Tags: ,

Skryf in op my blog.

FAST en SharePoint Integrasie Eerste Kyk

Ek het gelukkig 'n geleentheid te hê om te werk op 'n vinnige <–> SharePoint integrasie projek en gedink ek wil voortgaan om te deel my beperkte ervaring met die gemeenskap.

Microsoft is in die proses van die aankoop van FAST. I don’t know anything about the schedule except that it should be finished in the "2nd quarter" Ek neem middel 06/30/08.

My projek se ontwerp, op 'n baie hoë vlak, oproepe vir die skep van 'n paar web dele wat ongeveer dieselfde lyk, voel en funksionaliteit as die standaard MOSS soekkassie en kern resultate web deel, 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, alhoewel dit vir my duidelik is dat sommige van die vinnige ingenieurs duidelik verstaan ​​MS tegnologie (of het hulle gebruik gemaak van kontrakteurs).

FAST:

Vinnig 'n groot monster bediener produk (en ek bedoel nie dat in 'n slegte sin van die woord; Moss is 'n groot monster produk vir my so goed). 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, gee die resultate, is groot op die relevansie (want ek sien nie hoe dit hanteer sosiale relevansie). Egter, 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, as ek meer leer.

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.

Daar blyk 'n web koppelvlak.

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, nie so seker of dit is 'n produksie-gereed.

That’s it for now. As I progress through the project, Ek sal meer post.

</einde>

Technorati Tags: , ,

Skryf in op my blog.