Is there an example for using payloads for 4.6? Without any custom code for this?
On Sun, Jan 26, 2014 at 10:30 PM, William Bell <billnb...@gmail.com> wrote: > OK, > > In order to do boosting, we often will create a dynamic field in SOLR. For > example: > > A Professional hire out for work, I want to boost those who do > "woodworking". > > George Smith - builds chairs, and builds desks. He builds the most desks > in the country (350 a year). And his closest competitor does 200 a year. > > id (integer) = 1 > name (string) =George Smith > work multiValued field = chairs, desks > num_desk (dynamic field num*) = 500 > > Then I would do something like: > q=num_desk^5.0 > > Is there a way to do this without a dynamic field? > > I thought about a field: desk|500 (use bar delimiter). But couldn't see > how to have the value indexed to easily to a boost for those who do the > most. > > If you think of all the type of work, this could be 50,000 dynamic fields. > Probably a performance hog. > > > > > > Dr. Smith > Angioplasty > Performs 70 of these a year > > > > -- > Bill Bell > billnb...@gmail.com > cell 720-256-8076 > -- Bill Bell billnb...@gmail.com cell 720-256-8076