Copied to clipboard

Flag this post as spam?

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


  • Rob Williams 12 posts 31 karma points
    Oct 10, 2013 @ 19:50
    Rob Williams
    0

    Examine.SearchResult

    I have a search implemented, and I'm getting results, but I can't seem to get a handle on how to get inside a SearchResult.

    For example if I do this:
    if (!string.IsNullOrEmpty(Request.QueryString["searchItem"]))  {        <ul> <li> @Request.QueryString["searchItem"] </li>       @foreach (var result in searchResults)       {             <li>               <a href="@result">@result</a>           </li>         }        </ul>       } 

    I get a list of Examine.SearchResult items as expected. But I can't seem to get inside the Examine.SearchResult item.

  • Rob Williams 12 posts 31 karma points
    Oct 10, 2013 @ 21:23
    Rob Williams
    0

    I figured that out.

    result.Fields["thisfield"]  did what I wanted.

    Now I can't figure out how to access an IndexUserField...

    Anybody???

Please Sign in or register to post replies

Write your reply to:

Draft