Re: Duplicate documents based on attribute

2013-07-25 Thread Aditya
You need to store the color field as multi valued stored field. You have to do pagination manually. If you worried, then use database. Have a table with Product Name and Color. You could retrieve data with pagination. Still if you want to achieve it via Solr. Have a separate record for every produ

Re: Duplicate documents based on attribute

2013-07-25 Thread Alexandre Rafalovitch
Look for the presentations online. You are not the first store to use Solr, there are some explanations around. Try one from Gilt, but I think there were more. You will want to store data at the lowest meaningful level of search granularity. So, in your case, it might be ProductVariation (shoes+co

Re: Duplicate documents based on attribute

2013-07-25 Thread Mark
I was hoping to do this from within Solr, that way I don't have to manually mess around with pagination. The number of items on each page would be indeterministic. On Jul 25, 2013, at 9:48 AM, Anshum Gupta wrote: > Have a multivalued stored 'color' field and just iterate on it outside of > so

Re: Duplicate documents based on attribute

2013-07-25 Thread Anshum Gupta
Have a multivalued stored 'color' field and just iterate on it outside of solr. On Thu, Jul 25, 2013 at 10:12 PM, Mark wrote: > How would I go about doing something like this. Not sure if this is > something that can be accomplished on the index side or its something that > should be done in ou

Duplicate documents based on attribute

2013-07-25 Thread Mark
How would I go about doing something like this. Not sure if this is something that can be accomplished on the index side or its something that should be done in our application. Say we are an online store for shoes and we are selling Product A in red, blue and green. Is there a way when we sea