spokeypokey
unread,Nov 15, 2011, 7:47:39 PM11/15/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rav...@googlegroups.com
I realize why the following code won't work ("Cannot deserialize JSON array into type 'System.String'"), but I'm not sure how to correct this problem
when creating this hierarchical index:
public class ProviderSearchIndex : AbstractIndexCreationTask<ProviderPto, ProviderSearchIndex.Result>
{
public class Result
{
public string NetworkName { get; set; }
}
public ProviderSearchIndex()
{
Map = providerPtos =>
from p in providerPtos
select new
{
NetworkName = p.NetworksPto.Select(n => n.Name),
};
Store(x => x.NetworkName, FieldStorage.Yes);
}
}