Conditions | 1 |
Paths | 1 |
Total Lines | 21 |
Code Lines | 19 |
Lines | 0 |
Ratio | 0 % |
Tests | 20 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
14 | 11 | public function compileText(Fluent $fluent) : array |
|
15 | { |
||
16 | 11 | return $this->formatAttributes([ |
|
1 ignored issue
–
show
|
|||
17 | 11 | 'type' => 'text', |
|
1 ignored issue
–
show
|
|||
18 | 11 | 'analyzer' => $fluent->analyzer, |
|
1 ignored issue
–
show
|
|||
19 | 11 | 'boost' => $fluent->boost, |
|
1 ignored issue
–
show
|
|||
20 | 11 | 'eager_global_ordinals' => $fluent->eager_global_ordinals, |
|
1 ignored issue
–
show
|
|||
21 | 11 | 'fielddata' => $fluent->fielddata, |
|
1 ignored issue
–
show
|
|||
22 | 11 | 'fielddata_frequency_filter' => $fluent->fielddata_frequency_filter, |
|
1 ignored issue
–
show
|
|||
23 | 11 | 'fields' => $fluent->fields, |
|
1 ignored issue
–
show
|
|||
24 | 11 | 'index' => $fluent->index, |
|
1 ignored issue
–
show
|
|||
25 | 11 | 'index_options' => $fluent->index_options, |
|
1 ignored issue
–
show
|
|||
26 | 11 | 'index_prefixes' => $fluent->index_prefixes, |
|
1 ignored issue
–
show
|
|||
27 | 11 | 'index_phrases' => $fluent->index_phrases, |
|
1 ignored issue
–
show
|
|||
28 | 11 | 'norms' => $fluent->norms, |
|
1 ignored issue
–
show
|
|||
29 | 11 | 'position_increment_gap' => $fluent->position_increment_gap, |
|
1 ignored issue
–
show
|
|||
30 | 11 | 'store' => $fluent->store, |
|
1 ignored issue
–
show
|
|||
31 | 11 | 'search_analyzer' => $fluent->search_analyzer, |
|
1 ignored issue
–
show
|
|||
32 | 11 | 'search_quote_analyzer' => $fluent->search_quote_analyzer, |
|
1 ignored issue
–
show
|
|||
33 | 11 | 'similarity' => $fluent->similarity, |
|
1 ignored issue
–
show
|
|||
34 | 11 | 'term_vector' => $fluent->term_vector |
|
1 ignored issue
–
show
|
|||
35 | ]); |
||
488 |