Sorry, yes..
Let's say I have 100 documents, Documents have tags. Tags are facets, for example: "region/montreal".
There will be rules where:
- if Tags = "region/montreal" then put documents "doc/1" and "doc/2" first
A first implementation that I am not totally in favor with:
- query for documents "doc/1" and "doc/2"
- query for all other documents matching the query and exclude "doc/1" and "doc/2"
I can see many cons above:
- 2 queries
- tweaks are necessary for the pager
- non native solution
- extra logic, everywhere
Pro
- will not fail me.. guaranteed to work 100%
Would you have any other suggestions?
On Monday, May 7, 2012 10:42:15 AM UTC-4, Oren Eini wrote:
I don't understand the question, can you provide more details?