Re: how to correctly facet clothing multiple sizes and colors?

2012-04-09 Thread Andrew Harvey
What we do in our application is exactly what Robert described. We index Products, not variants. The variant data (colour, size etc.) is denormalised into the product document at index time. We then facet on the variant attributes and get product count instead of variant count. What you're see

Re: Solr Cluster - Is it wise to run optimize() on the master after each update

2012-01-23 Thread Andrew Harvey
We found that optimising too often killed our slave performance. An optimise will cause you to merge and ship the whole index rather than just the relevant portions when you replicate. The change on our slaves in terms of IO and CPU as well as RAM was marked. Andrew Sent on the run. On 23/

Re: Ngram autocompleter and term frequency boosting

2012-01-19 Thread Andrew Harvey
With Solr 4.0 you could use relevance functions to give a query time boost if you don't have the information at index time. Alternatively you could do term facet based autocomplete which would mean you could sort by count rather than any other input. Andrew Sent on the run. On 20/01/2012,