Instead of Umbraco.Search, try using Umbraco.ContentQuery.Search.
If you're looking for a good reference point, Paul Seal put together a nice little Umbraco Starter Kit for V8, which has a working search example here.
I'm glad that resolved things for you (remember to mark the solution so others can find it if they experience a similar issue).
At the moment the documentation is being updated, but you're right that things aren't quite up to date just yet.
On the flip side, that just means you (and the rest of us using V8) get to lead the charge on this! If you find any outdated documentation (or can't find any documentation at all), you can always raise this as an issue here or contribute yourself! :)
Umbraco search function
Hi there,
I'm trying to implement a basic search functionality on Umbraco 8. So I created a search page, and here is my template:
But I got a compilation error when trying to use Umbraco.Search():
Any ideas?
Thanks
Instead of
Umbraco.Search
, try usingUmbraco.ContentQuery.Search
.If you're looking for a good reference point, Paul Seal put together a nice little Umbraco Starter Kit for V8, which has a working search example here.
Thanks a lot Rhys you saved my day!
Why isn't this documented though :(
I'm glad that resolved things for you (remember to mark the solution so others can find it if they experience a similar issue).
At the moment the documentation is being updated, but you're right that things aren't quite up to date just yet.
On the flip side, that just means you (and the rest of us using V8) get to lead the charge on this! If you find any outdated documentation (or can't find any documentation at all), you can always raise this as an issue here or contribute yourself! :)
There's more on this here.
is working on a reply...