: I am not sure why you suggest Payload for ranking documents with more
: frequent tags above those with fewer tags. Wont the term frequency part of
: relevancy score ensure this by default? If you make tags a 'lowercase'
Sorry, yes ... absolutely - if you use omitNormws=false on the tags
field, and add these two docs...
{ id: doc1; tags: [house, house, house, boat] }
{ id: doc2; tags: [house, boat, car, vegas] }
...then doc1 will score higher on a query for "tags:house.
my suggestion to use payloads was because sending the same value many many
times (ie: if 100,000 users apply the tag "house" you would need to index
that doc with the word "house" repeated 100,000 times) can be prohibitive.
-Hoss