is that Picky searches the last token as if it was searched for partially (it's what's expected in 90% of the cases). So it actually searches:
1. 'climbing jacket gender:unisex*' (I added a non-partial searching " in the version, iirc)
2. 'climbing jacket*'
I assume that it finds 3 more results partially on "jacket" (in query 2).
Currently, Picky still searches partially on the "gender:unisex" part – I will change this for the next version. Sorry for being so wobbly on this feature – it's still experimental, and needs to be refined iteratively. Thanks for helping me.
and may I suggest that uniq be incorporated into results#ids ?
ruby-1.9.3-p194 :051 > Product.query("climbing jacket",1000).ids.uniq.count
If you pass in unique: true in the options, it will return unique results. It will be unique top down. That is, id an id has been used for one allocation of categories, eg. [:name, :surname], it will not be used anymore in a following allocation.
However, this is not yet passed into the queries when filtering facets (which I think, is not the way to go, as one wants a true result count for each facet).