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.
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.
I figured that out.
result.Fields["thisfield"] did what I wanted.
Now I can't figure out how to access an IndexUserField...
Anybody???
is working on a reply...