Are ther any good tutorials on how to use Examine in 4.5. The tutorial video Umbraco provides by Warren Buckley uses the .cshtml file which from my understanding 4.5 can't use because it is Razor.
We can't upgrade quite yet to 4.7 so we would like the enable Examine to search our site.
Also is there a way to make a filter search. Not a search box, but a group of droplist that filters by specified content?
You should be able to use Examine in a ASP.NET UserControl instead of a Razor file :-)
As for the filtersearch, that's a bit more complex since you have to build up your query dynamically. I.e., you have to check on all the other dropdownlists whenever a dropdownlist changed event fires to see if they contain a text to include in your examine query.
Yeh I found that one too. I may try it out. Thanks for the response. .Net might be the more logical way to go. I was just trying not to introduce extraneous files. But eh.
Examine search in 4.5
Are ther any good tutorials on how to use Examine in 4.5. The tutorial video Umbraco provides by Warren Buckley uses the .cshtml file which from my understanding 4.5 can't use because it is Razor.
We can't upgrade quite yet to 4.7 so we would like the enable Examine to search our site.
Also is there a way to make a filter search. Not a search box, but a group of droplist that filters by specified content?
THanks.
Hi Carlos,
You should be able to use Examine in a ASP.NET UserControl instead of a Razor file :-)
As for the filtersearch, that's a bit more complex since you have to build up your query dynamically. I.e., you have to check on all the other dropdownlists whenever a dropdownlist changed event fires to see if they contain a text to include in your examine query.
- Bo
So I have to use a .Net control and not straight XSLT?
I thought I found a small tutorial on using the XSLT extensions but I can not find it. I thought it was a video. But I may be wrong.
Do you know can I do it with XSLT only and not build a .Net control?
Hi Carlos,
I found this page, but it seems like it only applies to version 4.7 (?): http://our.umbraco.org/wiki/reference/xslt/using-examine-in-xslt
If this doesn't work, you should also be able to write your own XSLT extension to perform the Examine search :-)
- Bo
Yeh I found that one too. I may try it out. Thanks for the response. .Net might be the more logical way to go. I was just trying not to introduce extraneous files. But eh.
Hi Carlos,
All good :-) I'm afraid you have to use .NET for this one, but I might be wrong.
- Bo
is working on a reply...