|
|
Rank: Enthusiast
Joined: 9/23/2007 Posts: 18
|
Hi,
I'm pretty much newbie when it comes to umbraco. Did some interesting stuff with usercontrols with the umbraco API. But now want to advance a little further.
1. Does the API provide methods for me to search for nodes based on custom properties i created? For example, for datatype Page i assigned custom properties called Tags. I want to built a search interface that goes through all the Tags field on Page datatype. Or i have to resort to creating temp tables from the Node.Children output and search on the temp tables?
2. How bout sorting the output by Node.Children properties based on the custom properties? Eg assigned a DateCreated properties for the children nodes.
Please help to point me to something so i can explore from there. Many thanks!
xo Jess
WARNING: Might ask stupid question or give stupid answer
|
|
 Rank: Umbracoholic
Joined: 9/8/2006 Posts: 1,698 Location: KY, USA
|
You might look at XSLTsearch, available at http://umbraco.percipientstudios.com/xsltsearch.aspx. It is easily configured to search any docType properties you've created, and returns the results in ranked order with the best results first. Since it is entirely in XSLT, and well commented and fully documented, you can modify it to meet any needs you have. There is also a lucene-based search in the umbraco utilities but changing its behavior would be more work (though the source is available on CodePlex). cheers, doug.
MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
|
|
Rank: Enthusiast
Joined: 9/23/2007 Posts: 18
|
XSLTSearch looks awesome! Good work!
cheers!
WARNING: Might ask stupid question or give stupid answer
|
|
 Rank: Enthusiast
Joined: 11/7/2006 Posts: 28 Location: Kristiansand, Norway
|
Hi Douglas, I heared that the Lucene search doesn't work well with v.3. What's status on that? I also have a prospective customer who wants search to traverse several domains and files on server. What would you recommend?
|
|
 Rank: Umbracoholic
Joined: 9/8/2006 Posts: 1,698 Location: KY, USA
|
The Lucene-based umbraco search is the only option for searching within files like Office documents and PDFs. It is also much faster than XSLTsearch, because it is indexed. It works quite well on v3, just as it did with umbraco v2. I'm not a master on the lucene search, but if you need the speed because you have a huge site or need to search inside files, it is your best choice. cheers, doug.
MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
|
|
 Rank: Addict
Joined: 3/17/2008 Posts: 953 Location: Nyborg, Denmark
|
As Doug said the umbSearch (Lucene based) is very fast, but it's also much more complicated and you'll need to know a little about what's going on and it's completely unsupported and undocumented.
I'd recommend the brilliant XSLTSearch as anyones first choice unless you have a very special reason for doing otherwise (ie. a *must* need to index files or a site with 2k+ pages).
/n
Jeeeez, did I really start this :-)
|
|
 Rank: Enthusiast
Joined: 11/7/2006 Posts: 28 Location: Kristiansand, Norway
|
Actually, someone came up with Microsoft Search Engine 2008 as a good choice when search requirements are both inter- and intranet, files and databases beyond Umbraco. In this case it may be thousands of pages since several sites are meant to be ported into the same Umbraco installation. Comments?
|
|
 Rank: Fanatic
Joined: 7/19/2006 Posts: 492 Location: Göteborg, Sweden
|
Hi I don't know anything 'bout MS Search but I did some testing with Omniweb Search Yahoo! Edition last year and it worked great... It was free and easy to modify, you could even use the API to do true skimming of the result set. I remember two thing that bugged me; it needed an installed Tomcat server and one search result always pointed to Yahoo! web Search... But it was free...
" - Yeah I'd like to share your point of view, as long as it's my view too... ( http://www.d-a-d.dk/lyrics/pointofview)
|
|
 Rank: Fanatic
Joined: 7/19/2006 Posts: 492 Location: Göteborg, Sweden
|
Now I've investigated Microsoft Search Server 2008 Express (Free) and absolutely looks like a good competitor to the Yahoo search solution if you have full access to your server that is... Flash Demo of MSSS2008 here// ; ) Kalle
" - Yeah I'd like to share your point of view, as long as it's my view too... ( http://www.d-a-d.dk/lyrics/pointofview)
|
|
 Rank: Umbracoholic
Joined: 9/8/2006 Posts: 1,698 Location: KY, USA
|
Thanks, Kalle, that looks very interesting. I look forward to hearing someone's real tests with it, and how easy it is to integrate with umbraco content, media, and umbraco-managed websites. cheers, doug.
MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
|
|
|
Guest |