IBooleanOperation query = searcher.CreateSearchCriteria() .Field("path", "2719") // must be descendent of this listing page .And() .GroupedOr(new string[] { "nodeTypeAlias" }, new string[] { "Download", "Link", "Article" }); // must be correct node type
If I then log into the CMS, go to the developer section, select the "Examine Management" tab, select the "ListingPageContentSearcher" searcher, expand "Search Tools", paste in the lucene query that I've copied from the debug window, select the "Lucene Search" option and click the "Search" button, hey presto, all my results appear!
Does anyone have any idea what might be going on here?
Examine Search - only working in management dashboard
Umbraco 6.1.5. Got a strange issue with Examine search. Consider the following code:
I get no results back, which is not expected. (the path field has had commas replaced with spaces via GatheringNodeData event)
The resulting lucene query when I hover my mouse over the query while debugging in Visual Studio is:
If I then log into the CMS, go to the developer section, select the "Examine Management" tab, select the "ListingPageContentSearcher" searcher, expand "Search Tools", paste in the lucene query that I've copied from the debug window, select the "Lucene Search" option and click the "Search" button, hey presto, all my results appear!
Does anyone have any idea what might be going on here?
is working on a reply...