Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi. First of, thanks for a great package, its my first time using it and it fits my clients need perfect.
How do I search on Vorto values? Is there a search package avalible (like ezSearch) that can handle Vorto searching or can I tweak Examine to be able to fix this?
I tried the build-in @Umbraco.TypedSearch() but that does´nt seem to fix it, since I get results from all my language vorto-properties no mather what language my current site is. Also if i search for example "values" i get a searchresult for every node in my entire installation, and that does´nt seem right.
Is there a way to pass in a culture in a search method or is there a way of searching with RawQuery or regular expression?
I googled a bit the closest i can find is: http://24days.in/umbraco/2015/hacking-around-with-search-and-strong-typed-models/ by James Jackson-South, is this the recommended approach? The article is not very commented and the term "Hacking" made me a bit scared. :) Also reading it made my head hurt. :) Quite complex and a lot of code to achive something quite standard as a searchfunction.
Surely i cant be the first one of all the 3.000 Vorto downloads that needs a searchfunction, does anyone want to share how they fixed it? Maybe some code example?
Again, thank you for a awesome package!
Your not the first, I to use Vorto, but in my case with wrapping Archetype and searching is a pain. I did bring up this subject at Code Cabin (Making sure I was in-front of such alumnis as people like Matt Brailsford) and the collective feedback wasn't very positive.
The problems, as I see it:-
Need to investigate language specific lucene databases. I got mixed
results whether lucene can handle multi-language queries within the
same database, or require different language specific databases.
eg. A Turkish Lucene database for storing and querying Turkish
specific queries - I'm aware different languages have different rules on
matching for example.
If requiring different Lucene database how to generate them
automatically using code, and not using config files. Again nobody at
Code Cabin had any experience of this.
As you can tell, I'm at the position, that I've given it some thought, but as yet, haven't coded anything. And this comes the big reason why not; Vorto will be dead in Umbraco 8, and so I'd rather spend my time writing something when 8 is released and 1-1 multi language becomes part of the core.
Sorry for being of little help. Just wanted to reach out and say, if you find out anything, I would love to hear about it.
Yes I have a similar situation like you, but i use Nested Content instead of Archetype. Thank you so much for reaching out, I was starting to think that I was going crazy, searching everywhere and posting questions on Our and twittering whitout a single respone on a subject that feels like every site using Vorto should have.
I have no problem "hacking" up my own temporary searchfunction until Umbraco 8, as long as I know that im not missing a obvious solution or package. It makes sense that Vorto will be dead in Umbraco 8, since 1-1 multi language will be a Umbraco standard.
Thank you a lot for your response Jonathan!
I've updated the 1-1 multilingual example with search. The Vorto values are indexed per language.
It's using option 3 from Jonathan Richards his post.
When you check the source code it probably seems a bit complicated, but let me try to explain it.
When V8 is released it's better to use that 1-1 multilingual version of course, but that will probably still take a couple of months. Until then hopefully this example works.
You can see all the changes that I made for Vorto search here: https://github.com/jbreuer/1-1-multilingual-example/commits/master
Wow, thank you so much Jeroen! This works perfect for me!
What a awesome community this is!
I blogged about how you can search with Vorto. It also has a working example: http://24days.in/umbraco-cms/2016/umbraco-edge-case-stories/#search
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted