Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tom 713 posts 954 karma points
    May 02, 2011 @ 16:53
    Tom
    0

    Examine - How to limit search

    Hi Guys,

    I'm looking over the examine docs and have found references to max results in examples like:

    ISearchCriteria searchCriteria = ExamineManager.Instance.SearchProviderCollection["MySearcher"].CreateSearchCriteria(100, IndexType.Content);

    In my latest version of umbraco it doesn't appear to exist as a parameter any more.. just wondering how id achieve the same result? skip,take etc? when using the search criteria how do i just search for text in all fields without generating a large GroupedOr? I basically want the find out how to search all indexed fields for a search string be in part or all of that string and limit the results to 100..??

  • 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.

Please Sign in or register to post replies