Im currently using the package Vorto for a Multilingual-Website. How can i make a Fulltext-Search on my Site? What do i need for this and how to i implement it?
Somehow how the indexing is not working correctly. The pages are being indexed, but as far as i understand.without the needed properties. I've tried to debug it and i've noticed that in the "ExtractForExamine" Method the variable "extractProperties" always ends up as an empty list.
var extractProperties =
publishedContent.ContentType.PropertyTypes.Where(
x =>
PropertyExtractResolver.Current.PropertyExtractItems.Exists(
y => y.IsExtractForPropertyType(x.PropertyEditorAlias))).ToList();
i really do not understand this line. Could you please explain to me whats happening here? Thanks in advance
In the 1-1-multilingual-example several types are defined as AllowedTypes that can be extracted.
These classes can be found under: Umbraco.Extensions\Extract
(Search for: public override string[] AllowedTypes)
If you want to extract a type that is not yet available, you probably (~not done myself yet) have to define your own xxExtractItem class.
Fulltext search with Vorto
Hello our.Umbraco
Im currently using the package Vorto for a Multilingual-Website. How can i make a Fulltext-Search on my Site? What do i need for this and how to i implement it?
Please help me
Kind regards
Hubert
Hi Hubert,
Take a look at
https://24days.in/umbraco-cms/2016/umbraco-edge-case-stories/#search
Cheers
Jonathan
Hello Jonathan
Thanks for the great blog post, but i got stuck.
Somehow how the indexing is not working correctly. The pages are being indexed, but as far as i understand.without the needed properties. I've tried to debug it and i've noticed that in the "ExtractForExamine" Method the variable "extractProperties" always ends up as an empty list.
i really do not understand this line. Could you please explain to me whats happening here? Thanks in advance
Hi Hubert,
I really suggest getting hold of Jeroen Breuer, hopefully he can give you some of his expert advice.
What kind of fieldtype(s) do you want to index?
In the 1-1-multilingual-example several types are defined as AllowedTypes that can be extracted. These classes can be found under: Umbraco.Extensions\Extract
(Search for: public override string[] AllowedTypes)
If you want to extract a type that is not yet available, you probably (~not done myself yet) have to define your own xxExtractItem class.
I'm having the same problem Hubert has. I've got everything in place, but the list comes up empty.
This looks like it's coming from higher above. The constructor in PropertyExtractResolver.cs:
Gets an empty extractItems variable. The "extract" classes are all in place, however nothing Vorto, for example, gets indexed.
I'm using a custom indexer and I've changed the name of the indexer in UmbracoEvents.cs:
Other than that, I can't see what's going wrong. Has anybody found the cause? I'm probably doing something wrong but I can't figure out what.
I even created a GIF to show what I mean :) This is the initial call that is supposed to initialize things.
is working on a reply...