I am trying to integrate Spring Data solr into my spring application and I have strucked with the below problem.
Even though I have added the type=string in @Indexed property it is still creating the field type as "text_general".
Any inputs?
@SolrDocument(collection = "product")
public class Product {
@Id
private String id;
@Indexed(name="name",type = "string")
private String name;
}
In Solrschema file it is showing as:
<field name="name" type="text_general"/>
Any thoughts?
Thanks.