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
09.09.10 18:28: @umbraco happy birthday my friend
09.07.10 20:02: Aaaaadler ;-)
09.07.10 20:01: Einmal Bier holen = Tor verpasst => Der Weg in den Keller ist eindeutig zu lang...
09.04.10 06:04: @Shazwazza Done ;-) #ucomponents #Umbraco
09.03.10 20:43: @netaddicts LOL
![]()
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