When I use the search, only a small subset of data is returned. I have rebuilt my indexes and didnt see a difference. If I go to the Developer Tab -> Examine Management, under the Searchers section and test the InternalSearcher, InternalMemberSearcher, and ExternalSearcher using a Lucene Search, only the ExternalSearcher returns the results I expected.
Are the indexes not building properly? Do I need to configure ezSearch to use a different index?
It sounds like the Index is working correctly. ezSearch works with the ExternalIndex / Searcher out of the box as this is the one intended for external searching. The others are umbraco internal indexes.
I haven't got it setup to test, but I'm wondering if the parameter field casing is an issue? Did you free hand type that in? or use the insert macro dialog? I'm wondering if changing "SearchFields" to "searchFields" and "PreviewFields" to "previewFields" will do the trick.
Umbraco 7 ezSearch Index issues
I have setup ezSearch and included the search fields as follows:
@Umbraco.RenderMacro("ezSearch", new { SearchFields = "nodeName, metaTitle, metaDescription, metaKeywords, bodyText, description, memberName, professionalTitle, boardTitle, shortBio, name, eventName, tag, header, headerAlt, text, subHeader, details, personName, relatedInfo, rulesHeader, rulesText, teamsHeader, eventsHeader, info, teamNewsHeader, teamNewsText, content", PreviewFields = "nodeName, metaTitle, metaDescription, metaKeywords, bodyText, description, memberName, professionalTitle, boardTitle, shortBio, name, eventName, tag, header, headerAlt, text, subHeader, details, personName, relatedInfo, rulesHeader, rulesText, teamsHeader, eventsHeader, info, teamNewsHeader, teamNewsText, content" })
When I use the search, only a small subset of data is returned. I have rebuilt my indexes and didnt see a difference. If I go to the Developer Tab -> Examine Management, under the Searchers section and test the InternalSearcher, InternalMemberSearcher, and ExternalSearcher using a Lucene Search, only the ExternalSearcher returns the results I expected.
Are the indexes not building properly? Do I need to configure ezSearch to use a different index?
Hi,
It sounds like the Index is working correctly. ezSearch works with the ExternalIndex / Searcher out of the box as this is the one intended for external searching. The others are umbraco internal indexes.
I haven't got it setup to test, but I'm wondering if the parameter field casing is an issue? Did you free hand type that in? or use the insert macro dialog? I'm wondering if changing "SearchFields" to "searchFields" and "PreviewFields" to "previewFields" will do the trick.
Give that a try and let me know how you get on.
Matt
That didn't seem to make a difference. The model in ezSearch.cshtml seems to populate those 2 properties as expected.
is working on a reply...