Monthly Archives: Apríl 2008

FAST SharePoint Sameining: Dæmi Code til að sýna allar Laus FAST Views

Here is some code that shows all available views from a HRATT server based on the named QRServer (the server process with which we communicate). I offer this up to give you all a taste of what it’s like to use the provided FAST API.

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


namespace Conchango
{
    flokki EnumerateFASTViews
    {
        truflanir ógilt Main(band[] args)
        {

            ISearchFactory searchFactory;

            NameValueCollection nameValueCollection =  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().Count + "].");

            INT i = 0;

            framhandleggur (mótmæla o í 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 🙂

</enda>

Technorati Tags: ,

Gerast áskrifandi að bloggið mitt.

Fljótur og SharePoint Sameining First Look

Ég hef verið heppinn að hafa tækifæri til að vinna á FAST <–> SharePoint sameining verkefni og hélt ég myndi halda áfram að deila Takmörkuð reynsla mín við samfélagið.

Microsoft er í í því að kaupa HRATT. I don’t know anything about the schedule except that it should be finished in the "2nd quarter" sem ég geri ráð leið við 06/30/08.

Verkefnisins míns hönnun, á mjög háu stigi, kallar að búa til nokkrar hluta vefur sem hafa u.þ.b. sama útlit, finnst og virkni eins og the staðall mosa leita kassi og algerlega Niðurstöður 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, þó það er augljóst að mér að sumir af the fljótur verkfræðinga greinilega skilja MS tækni (eða þeir hafa nýtt sér verktaka).

HRATT:

FAST er stór skrímsli framreiðslumaður vara (og ég meina ekki að í vondu skilningi; MOSS er stór skrímsli vöru til mín og). 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, sýnir niðurstöður, er stór á mikilvægi (þó að ég sé ekki hvernig það annast félagslega gildi). Hins, 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, sem ég læri meira.

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.

Það virðist vera þjónusta vefur tengi eins og heilbrigður.

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, ekki svo viss um að ef það er framleiðslu-tilbúinn.

That’s it for now. As I progress through the project, Ég staða meira.

</enda>

Technorati Tags: , ,

Gerast áskrifandi að bloggið mitt.