Mjesečni arhiv: Travanj 2008

FAST SharePoint integracija: Sample Code prikaz svih dostupnih FAST Pregleda

Ovdje je neki kod koji prikazuje sve dostupne pogled iz BRZO poslužitelj temeljen na ime QRServer (procesa poslužnika s kojima komuniciramo). I offer this up to give you all a taste of what it’s like to use the provided FAST API.

pomoću Sustav;
pomoću System.Collections.Generic;
pomoću System.Linq;
pomoću System.Text;
pomoću Com.FastSearch.Esp.Search;
pomoću Com.FastSearch.Esp.Search.Http;
pomoću Com.FastSearch.Esp.Search.Navigation;
pomoću Com.FastSearch.Esp.Search.Query;
pomoću Com.FastSearch.Esp.Search.Result;
pomoću Com.FastSearch.Esp.Search.View;
pomoću System.Collections.Specialized;
pomoću System.Collections;


namespace Conchango
{
    klasa EnumerateFASTViews
    {
        statički poništiti Glavni(niz[] args)
        {

            ISearchFactory searchFactory;

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

            Utješiti.WriteLine("Total Views: [" + searchFactory.GetSearchViewList().Računati + "].");

            int i = 0;

            foreach (objekt o u searchFactory.GetSearchViewList())
            {
                Utješiti.WriteLine("View [" + i     + "]: [" + o.ToString() + "].");

            }

            Utješiti.ReadLine();

        }
    }
}

Imajte na umu da sam sebe smatram jedva nadležno C # programer i imam tanku kožu, tako da ne slati maline moj način, osobito cijene: the "foreach (objekt o u …)" construct 🙂

</kraj>

Technorati Tags: ,

Pretplatite se na moj blog.

FAST i SharePoint Integracija Prvi pogled

Bio sam sretan da ima priliku raditi na FAST <–> SharePoint integracija projekt i mislio bih i dalje dijele moje ograničeno iskustvo sa zajednicom.

Microsoft je u Proces kupnje BRZO. I don’t know anything about the schedule except that it should be finished in the "2nd quarter" što sam pretpostaviti sredstva za 06/30/08.

Mog projekta dizajn, na vrlo visokoj razini, pozivi za stvaranje nekoliko web-dijelova koji su manje-više isti izgled, osjećaju i funkcije kao i standardni Moss okvir za pretraživanje i web jezgre Rezultati dio, 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, iako je očito da mi se da neke od brze inženjera jasno razumjeti MS tech (ili su napravili korištenje radova).

BRZO:

FAST je velika čudovište server proizvoda (i ne mislim da je u lošem smislu; MOSS je veliki čudovište proizvoda za mene, kao i). 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, prikazani su rezultati, je velika na relevantnosti (iako ne vidim kako se to obrađuje socijalnu relevantnost). Međutim, 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, kao što sam saznati više.

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.

Čini se da sučelje web servis kao i.

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, nije tako siguran ako je proizvodno-spremni.

That’s it for now. As I progress through the project, Ja ću pisati više.

</kraj>

Technorati Tags: , ,

Pretplatite se na moj blog.