Skip to content

Commit

Permalink
Add support for Solr 5.1.0
Browse files Browse the repository at this point in the history
Version 1.5.0 of the typo3-solr-plugin, supports Apache Solr 5.1
  • Loading branch information
irnnr committed May 31, 2015
1 parent 19cf69d commit a6cb17c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.typo3.solr</groupId>
<artifactId>solr-typo3-plugin</artifactId>
<version>1.4.0</version>
<version>1.5.0</version>
<packaging>jar</packaging>
<name>Solr TYPO3 Plugin</name>
<description>A plugin for Solr to implement TYPO3 support functionality.</description>
Expand Down Expand Up @@ -46,7 +46,7 @@
</organization>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<solr.version>5.0.0</solr.version>
<solr.version>5.1.0</solr.version>
</properties>
<build>
<plugins>
Expand Down
5 changes: 5 additions & 0 deletions src/main/java/org/typo3/solr/search/AccessFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -204,4 +204,9 @@ private void setUserGroupList(final String userGroupList) {
this.userGroupSet = StringUtils.commaSeparatedListToIntegerHashSet(userGroupList);
}

@Override
public String toString(String field) {
return getClass().getName() + " - " + this.accessField + ": " + StringUtils.implode(this.userGroupSet, ",");
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class AccessFilterQParserPlugin extends QParserPlugin implements SolrInfo
/**
* Query Parser Plugin Version.
*/
private static final String version = "1.4.0";
private static final String version = "1.5.0";

/**
* Implementation of NamedListInitializedPlugin.init().
Expand Down

0 comments on commit a6cb17c

Please sign in to comment.