GitHub user alessandrobenedetti opened a pull request:
https://github.com/apache/lucene-solr/pull/357
[SOLR-12238] Synonym Queries boost by payload
This patch involves the synonym management in the query building/parser
phase.
It adds the possibility of getting the payloads from a Graph Token Stream
and then use the payload to build boost queries for terms and phrase queries.
Tests are included for a better understanding of the use cases.
This is an initial patch, happy to extend it or improve it !
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SeaseLtd/lucene-solr SOLR-12238
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/lucene-solr/pull/357.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #357
----
commit 74bbc02f71ec026eb4cee1c29dcad0bad1c664a6
Author: Alessandro Benedetti <benedetti.alex85@...>
Date: 2018-04-19T01:38:13Z
[SOLR-12238] Synonym Queries boost by payload + tests
commit cacf48a162ffbe8af6c2a61d70ec580835b1f1fc
Author: Alessandro Benedetti <benedetti.alex85@...>
Date: 2018-04-19T01:52:40Z
[SOLR-12238] query builder style revert
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]