Skip to content

Commit

Permalink
commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
synapticloop committed Sep 18, 2024
1 parent e80d93b commit 246d6ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public PanlOrFacetField(String lpseCode, String propertyKey, Properties properti
}

@Override protected void applyToQueryInternal(SolrQuery solrQuery, List<LpseToken> lpseTokenList) {
// if there is only one...
// if there is only one... no need to do anything different
if (lpseTokenList.size() == 1) {
OrFacetLpseToken facetLpseToken = (OrFacetLpseToken) lpseTokenList.get(0);

Expand All @@ -94,7 +94,7 @@ public PanlOrFacetField(String lpseCode, String propertyKey, Properties properti

StringBuilder stringBuilder = new StringBuilder();
boolean isFirst = true;
// at this point, we are going through the or filters
// at this point, we are going through the OR filters
for (LpseToken lpseToken : lpseTokenList) {
OrFacetLpseToken orFacetLpseToken = (OrFacetLpseToken) lpseToken;
if (isFirst) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ public AvailableProcessor(CollectionProperties collectionProperties) {
* @param panlTokenMap The Map of existing tokens that are already in the URI
*
* @return The addition URI
*
private JSONObject getAdditionURIObject(BaseField lpseField, Map<String, List<LpseToken>> panlTokenMap, boolean shouldRange) {
String additionLpseCode = lpseField.getLpseCode();
Expand Down

0 comments on commit 246d6ae

Please sign in to comment.