test/command/suite/geo/taiyaki/weight-match.test
raw| 1 | #@include fixture/geo/taiyaki/init.grn |
| 2 | |
| 3 | select Shops \ |
| 4 | --sort_keys '-_score, +name' \ |
| 5 | --output_columns 'name, _score' \ |
| 6 | --match_columns 'name * 1000 || tags * 10000' \ |
| 7 | --query たいやき \ |
| 8 | --filter 'geo_in_circle(location, "128429532x503148672", 10000)' \ |
| 9 | --scorer '_score -= geo_distance(location, "128429532x503148672")' \ |
| 10 | --drilldown_output_columns '_key, _nsubrecs' \ |
| 11 | --drilldown_sort_keys '-_nsubrecs' \ |
| 12 | --drilldown 'tags' |