1 | ;
|
2 |
|
3 | const _ = require('lodash');
|
4 |
|
5 | class Query {
|
6 | constructor() {
|
7 | this._score = [];
|
8 | this._filter = [];
|
9 | }
|
10 |
|
11 | filter(view) {
|
12 | this._filter.push(view);
|
13 | }
|
14 |
|
15 | score(view) {
|
16 | this._score.push(view);
|
17 | }
|
18 |
|
19 | render(vs) {
|
20 |
|
21 | }
|
22 |
|
23 | }
|
24 |
|
25 | module.exports = Query;
|