I'm working on an intranet which needs to have a search of members registered with it. The members will have custom properties that we want to search by, for example "sex", "language". But I'm not sure how to do this.
I'd reccomend using examine (a powerful search engine bundled with umbraco). Umbraco already indexes members interally and you could potentially just query this index.
Normally I set up a custom member index so I can control which fields are indexed / sortable etc.
Here is an awesome blog post on using examine which should help get you started.
The second error looks like a result of a missing InternalMemberIndexSet. Umbraco requires this to function (it powers the member section in the backoffice among other things). Is it present in ExamineIndex.config? Is its associated indexer and searcher present in ExamineSettings.config?
In terms of the other issues, the IntranetMembersIndexer has an incorrect type attribute. It should be type="UmbracoExamine.UmbracoMemberIndexer, UmbracoExamine". It's also missing the indexSet attribute. indexSet="IntranetMembersIndexSet"
Have you also added an IntranetMemberSearcher in ExamineSettings.config? This should look something like
The InternalMemberIndexSet was left as it was and the indexer and searcher was present.
I've ended up copying the internal member index set as I'm told if the fields aren't specified it includes them all by default. Hopefully this will work.
User search
I'm working on an intranet which needs to have a search of members registered with it. The members will have custom properties that we want to search by, for example "sex", "language". But I'm not sure how to do this.
Can anyone point me in the right direction.
Hello,
I'd reccomend using examine (a powerful search engine bundled with umbraco). Umbraco already indexes members interally and you could potentially just query this index.
Normally I set up a custom member index so I can control which fields are indexed / sortable etc.
Here is an awesome blog post on using examine which should help get you started.
http://umbraco.com/follow-us/blog-archive/2011/9/16/examining-examine.aspx
Many Thanks,
Tom
I have tried to use examine but am getting errors when trying to create my index.
In the log file I get this error
Then this one keeps being logged
My index config and settings config are below.
Can anyone point out what I've done wrong.
Hi,
The second error looks like a result of a missing InternalMemberIndexSet. Umbraco requires this to function (it powers the member section in the backoffice among other things). Is it present in ExamineIndex.config? Is its associated indexer and searcher present in ExamineSettings.config?
In terms of the other issues, the IntranetMembersIndexer has an incorrect type attribute. It should be type="UmbracoExamine.UmbracoMemberIndexer, UmbracoExamine". It's also missing the indexSet attribute. indexSet="IntranetMembersIndexSet"
Have you also added an IntranetMemberSearcher in ExamineSettings.config? This should look something like
<add name="IntranetMemberSearcher" type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine" indexSet="IntranetMembersIndexSet"
analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" enableLeadingWildcards="true"/>
The InternalMemberIndexSet was left as it was and the indexer and searcher was present.
I've ended up copying the internal member index set as I'm told if the fields aren't specified it includes them all by default. Hopefully this will work.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.