Freitag, 28. August 2009

Simple Search 4 Umbraco v0.3 published

I have published the version 0.3 of my Simple Search for Umbraco.

This includes only two additional functions which gives you the possibillity to add your own Search definition on runtime.

e.g.:

var sd = new SearchDefinition { IsDefault = true, IterationType = IterationType.IterateAll, Name = "MySearchDefinition" };
var dt = new DocumentType { Alias = "blog.com.Post", Category = "Blog Post", TestNodeName = true, IncludeChildNodes = false };
sd.DocumentTypes.Add(dt);
dt.Properties.Add(new Property { Alias = "bodyText", ComparisonType = ComparisonType.String, Comparison = Comparison.Contains });
dt.Properties.Add(new Property { Alias = "umbracoTags", ComparisonType = ComparisonType.String, Comparison = Comparison.Contains });
var searcher = new Searcher();
searcher.Search(sd, "PHRASE TO SEARCH", null);

Download it from Codeplex or from our.umbraco.org

Feedback is welcome,

Thomas

Comments: 2  Add Comment Filed under: Umbraco | Package | Simple Search for Umbraco | Search |

Archive


Subscribe Feed

Me on Twitter

02.04.12 11:50:  wpi feed wurde noch nicht aktualisiert

02.04.12 10:31:  Yihaa, ich sehe Schnee

02.04.12 09:52:  @Kilroy576 winke winke zurück und danke

02.03.12 20:51:  +1 RT @attack_monkey: @umbraco stalker.Umbraco.com

02.03.12 20:51:  Das passiert wenn man Kinder mal unbeaufsichtigt lässt: http://t.co/p2HrAPm0 #monster

About

It's me
This blog is written by Thomas Höhler. Living next to Frankfurt, Germany, I am trying to share my experiences about Umbraco [the most flexible CMS I know], my ClientTools for Umbraco, and some other more or less usefull stuff

XING

Latest Posts

Design & Masterpage by 69° media solutions