I have 2 multivalued fields in my product doc :-
- Features
- Features_Score
Features field (type: string) has multiple features for the product. Each feature has a string value. Features_Score (type : integer) is a parallel multivalued field containing the score of the corresponding feature.
Obviously, both the fields would have same no. of entries
Now I want to query solr like this :-
Give me all those products (solr docs) where feature:'durability' AND features_score > '10'.
I want this query to return all products with features durability and durability feature for that product should have score above 10.
But, this won't return the expected results as there is no mapping (at indexing level) between features and features_score field.
How should I implement this? Is there any in-built support in Solr to do this?