This is my code:
public static ICollection<Review> ShowingData(string searchString)
{
// DataTable dt = new DataTable();
Startup.Init<Review>("
http://localhost:8080/solr");
ISolrOperations<Review> solr =
ServiceLocator.Current.GetInstance<ISolrOperations<Review>>();
/* issue a lucene query */
ICollection<Review> results =
solr.Query(searchString);
return (results);
}
basically I called this function when I do the search. The first time
searching is ok but if I search again it will give me the error.
Thank you so much.