Commit graph

33 commits

Author SHA1 Message Date
f6eeed939b update to datastructures 1.0.1, rename README.adoc to README.md 2022-10-16 17:45:03 +02:00
4fac5c232c make phrase boost optional to allow user-defined phrases 2022-10-13 11:46:00 +02:00
b9758f6f24 update to Java 17, Gradle 7.5.1 2022-10-02 20:40:11 +02:00
5af5f10545 bump to 4.1.2 2021-12-03 17:41:51 +01:00
9b833ee888 open ElasticsaerchGenerator for custom sub-generators, replace unmapped_type by ignore_unmapped 2021-12-02 18:05:27 +01:00
23f45e6eea use JsonBuilder.builder(), update to gradle 7.3 2021-12-02 14:31:12 +01:00
04d19b3ed7 add keyword fields for exact search via field name 2021-11-02 15:08:05 +01:00
a52894f663 replace xcontent with datastructures for JSON building 2021-10-20 16:39:12 +02:00
9b38b62d42 use bool query phrase boost trick, update tests 2021-09-24 11:48:15 +02:00
5abd384404 replace match_phrase with simple query 2021-09-16 18:08:58 +02:00
67aa372666 make cql.allIndexes configurable 2021-07-30 14:45:19 +02:00
81d29ef733 add null context for removing index from search clause 2021-06-15 18:18:05 +02:00
f83ae36758 update to content 3.0.0 2021-05-27 16:30:35 +02:00
e951774a5d cosmetic 2021-04-30 16:15:25 +02:00
3c903db4ef add substitutor visitor 2021-04-29 22:19:24 +02:00
38c6e33acf update to gradle 6.6.1, xbib content 2.5.1 2020-09-27 11:55:14 +02:00
d1da093b94 update content to 2.4.0 2020-09-10 10:23:16 +02:00
6dda2fe7e4 update to xbib content 2.3.2 2020-07-31 10:54:30 +02:00
dbed021104 update to content 2.3.1 2020-06-05 11:18:47 +02:00
67b36609fe fix sonatype publishing 2020-05-19 16:55:43 +02:00
19654992ce updating to Java named modules, Gradle 6, JUnit 5 2020-05-19 16:51:04 +02:00
93ab17cb64 update gradle plugin versions 2019-11-11 09:45:11 +01:00
a2396a021b update to xbib-content 2.0.4 2019-11-10 16:44:26 +01:00
329661f6b9 update to jflex plugin 1.2.1, update to gradle 5.6 2019-09-15 13:51:33 +02:00
f92ce2d4cf update to OpenJDK 11, Gradle 5.3.1 2019-08-12 11:06:26 +02:00
cbbe739c81 bump dependency versions, clean subproject structure 2018-02-08 11:18:45 +01:00
c44e0e260b update xbib content 2018-02-06 16:04:10 +01:00
33ae70f753 refactored cql package into two subpackages, to cql and cql-elasticsearch 2017-10-13 19:16:35 +02:00
7d9639a1b8 add asciidoc, fixes for checkstyle, sonarqube 2017-01-26 21:24:14 +01:00
99eaa0bd0c Merge pull request #1 from hbz/fix-phrase-handling
Fix phrase handling in Elasticsearch query generator
2017-01-26 17:33:53 +01:00
Jens Wille
57d757352a Query generator should not treat quoted phrases specially.
Quoted strings in CQL only have syntactic meaning for the parser, they don't carry semantic meaning for the resulting query.

As a consequence of this change, they have to be used in their unquoted form (`tok2.getString()` instead of `arg2.toString()`).

NOTE: The `cql.unmasked` relation modifier may be implemented in order to support the previous behaviour of "protected" phrases.
2017-01-26 15:55:39 +01:00
Jens Wille
1331ad631e Rename token class "protected" to "quoted".
More in line with remaining nomenclature.

Stresses syntactic over semantic meaning.
2017-01-26 15:52:17 +01:00
b41479bf7f initial commit 2016-11-25 00:06:17 +01:00