@wmfs/tymly-solr-plugin
Advanced tools
Comparing version 2.40.0 to 2.41.0
@@ -8,2 +8,3 @@ 'use strict' | ||
const parseTagsFilter = require('./parse-tags-filter') | ||
const parseRatingFilter = require('./parse-rating-filter') | ||
@@ -201,2 +202,3 @@ class Search { | ||
const tags = event.tags && event.tags.length > 0 ? parseTagsFilter(event.tags) : '' | ||
const rating = parseRatingFilter(event.rating) | ||
const timestamp = event.eventTimestamp ? `%20AND%20eventTimestamp:[${event.eventTimestamp}]` : '' | ||
@@ -206,3 +208,3 @@ const start = _.isUndefined(event.offset) ? filters.offset : event.offset | ||
const query = `q=*:*${domain}${docType}${tags}${timestamp}${userRolesQuery}${categoryQuery}${activeEvent}${fq}${sortQuery}${fields}&start=${start}&rows=${rows}` | ||
const query = `q=*:*${domain}${docType}${tags}${rating}${timestamp}${userRolesQuery}${categoryQuery}${activeEvent}${fq}${sortQuery}${fields}&start=${start}&rows=${rows}` | ||
@@ -209,0 +211,0 @@ this.logger.debug(query) |
{ | ||
"name": "@wmfs/tymly-solr-plugin", | ||
"version": "2.40.0", | ||
"version": "2.41.0", | ||
"description": "Plugin which handles interaction with Apache Solr for Tymly framework", | ||
@@ -34,7 +34,7 @@ "homepage": "https://github.com/wmfs/tymly-solr-plugin#readme", | ||
"@wmfs/tymly": "1.261.0", | ||
"@wmfs/tymly-pg-plugin": "1.288.0", | ||
"@wmfs/tymly-rbac-plugin": "1.29.0", | ||
"@wmfs/tymly-cardscript-plugin": "1.44.0", | ||
"@wmfs/tymly-pg-plugin": "1.290.0", | ||
"@wmfs/tymly-rbac-plugin": "1.31.0", | ||
"@wmfs/tymly-cardscript-plugin": "1.45.1", | ||
"@wmfs/tymly-test-helpers": "1.22.2", | ||
"chai": "4.3.8", | ||
"chai": "4.3.10", | ||
"codecov": "3.8.3", | ||
@@ -41,0 +41,0 @@ "conventional-changelog-metahub": "4.0.1", |
{ | ||
"name": "solr", | ||
"version": "2.40.0", | ||
"version": "2.41.0", | ||
"label": "Solr", | ||
@@ -5,0 +5,0 @@ "author": "Tim Needham", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
243228
85
2570
33