I would like to create an index from my database data. Currently I use a SQL view for extract the data from the base. In my results I have an unique ID per result and each result can contains several possible another ids for one of the column that I need to search.
For example from one store I have 3 columns : ID, NAME, PRODUCTS_ID. PRODUCTS_ID has possibly several values per store. How I can index into SOLR such document. Must I create one document per products_id (and after that I need to make in someway distinct of the results) or I can use another way to present this results ? I saw that there is multiValued configuration, but is there a best way to done ?