Skip to content

Commit

Permalink
Added fast vectors mapping to elastic definition to improve search sp…
Browse files Browse the repository at this point in the history
…eed.
  • Loading branch information
RafaPolit committed Jun 7, 2017
1 parent 609f649 commit 5b92524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/elastic_mapping.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ export default {
path_match: 'fullText',
match_mapping_type: 'string',
mapping: {
type: 'string',
type: 'text',
index: 'analyzed',
omit_norms: true,
analyzer: 'standard',
fielddata: {format: 'enabled'}
term_vector: 'with_positions_offsets'
}
}
}, {
Expand Down

0 comments on commit 5b92524

Please sign in to comment.