can i use copyfield or dynamicfield or multivalued field functionality in solrnet?

StackOverflow https://stackoverflow.com/questions/3644627

  •  01-10-2019
  •  | 
  •  

Question

can any body explain how during indexing i can use copyfield or dynamicfield or multivalued field functionality usin solrnet

Was it helpful?

Solution

Map multiValued fields to ICollection<T> properties:

[SolrField("features")]
public ICollection<string> Features {get;set;}

I just updated the docs about mapping dynamicFields.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top