updated search to use minimumShouldMatch on AND concatinated search strings

#86 Open
Repository
Branch
bugfix/search-term-concatenation
Repository
Branch
default

Bitbucket cannot automatically merge this request.

The commits that make up this pull request have been removed.

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

hg update 2d21356c62cd
# Note: This will create a new head!
hg merge 629a5523699a
hg commit -m 'Merged in bugfix/search-term-concatenation (pull request #86)'
Author
  1. Mario Holtmüller
Reviewers
Description
No description

Comments (1)

  1. Daniel Zoller

    I you suggest to test a different approach:

    instead of QueryBuilders.queryStringQuery(searchTerms).defaultOperator(QueryStringQueryBuilder.Operator.AND) we should try:QueryBuilders.queryStringQuery(searchTerms).defaultOperator(QueryStringQueryBuilder.Operator.AND).boost(2.0) OR QueryBuilders.queryStringQuery(searchTerms).defaultOperator(QueryStringQueryBuilder.Operator.OR

    This should rank documents with exact matches higher than documents with partial match.