I'm trying to pass a search string to my Umbraco Examine filter using three different methods. However, it seems that only the first one is being applied and the other two are ignored.
If I search for "disc*" I get results, but "discount" comes up empty. If I swap the order, put the Escape first, then "discount" works but "disc*" no longer works.
Cannot stack multiple Examine filters
I'm trying to pass a search string to my Umbraco Examine filter using three different methods. However, it seems that only the first one is being applied and the other two are ignored.
If I search for "disc*" I get results, but "discount" comes up empty. If I swap the order, put the Escape first, then "discount" works but "disc*" no longer works.
Is this not the best way to do this?
filter = criteria .GroupedOr(new string[] { "title", "summary", "bodytext" }, splitSearchPhrase[i].SingleCharacterWildcard()) .Or() .GroupedOr(new string[] { "opinion_Num", "title", "summary", "bodytext", "opiniondate", "smallOpinionDate" }, splitSearchPhrase[i].Escape()) .Or() .GroupedOr(new string[] { "title", "summary", "bodytext" }, splitSearchPhrase[i].Fuzzy(0.7f));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.