Commit d1a1407 synapticloop
committed
1 parent 82c0d8f commit d1a1407 Copy full SHA for d1a1407
File tree 3 files changed +18
-4
lines changed
src/main/java/com/synapticloop/panl/server/handler
3 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -388,10 +388,19 @@ with the release files named `solr-panl-9-x.x.x`
388
388
389
389
## 1.2.0 - more like this (codename ` needy-phanton ` ) ** UNDER DEVELOPMENT**
390
390
391
- ## 1.1.1 - the better update (codename ` grizzled-pebble ` )
391
+ ## 1.1.1 - the fly spray (codename ` grizzled-pebble ` )
392
392
393
393
- Bug fixes
394
- - Fixed 'OR' facet ` before ` and ` after ` URL values
394
+ - Fixed 'OR' facet ` before ` and ` after ` URL values in the JSON response where a range facet has already been selected
395
+ - Code cleanup
396
+ - Updated explanation for DATE Range and RANGE facets
397
+
398
+ [ View the code for this release] ( https://github.com/synapticloop/panl/tree/1.1.1 )
399
+
400
+ [ Download the release packages] ( https://github.com/synapticloop/panl/releases/tag/1.1.1 )
401
+
402
+ [ See all releases] ( https://github.com/synapticloop/panl/releases/ )
403
+
395
404
396
405
## 1.1.0 - the better update (codename ` broad-firefly ` )
397
406
Original file line number Diff line number Diff line change @@ -249,7 +249,13 @@ protected JSONObject getAdditionURIObject(
249
249
lpseUri .append (baseField .getURIPath (panlTokenMap , collectionProperties ));
250
250
int numTokens = panlTokenMap .get (orderedLpseCode ).size ();
251
251
if (numTokens == 1 ) {
252
- lpseUriCode .append (baseField .getLpseCode ());
252
+ // if we have a range facet - we need to make sure that we are
253
+ // encoding it correctly there can only be one range token for the
254
+ // panl field (no over-lapping ranges, or distinct ranges)
255
+
256
+ // if it is not a range facet - then this won't do any harm and is a
257
+ // better implementation
258
+ lpseUriCode .append (baseField .getLpseCode (panlTokenMap .get (orderedLpseCode ).get (0 ), collectionProperties ));
253
259
} else {
254
260
lpseUriCode .append (new String (new char [numTokens ]).replace ("\0 " , baseField .getLpseCode ()));
255
261
}
Original file line number Diff line number Diff line change @@ -87,7 +87,6 @@ public DateRangeFacetLpseToken(
87
87
} else {
88
88
this .isValid = false ;
89
89
}
90
-
91
90
}
92
91
93
92
@ Override public String explain () {
You can’t perform that action at this time.
0 commit comments