Skip to content

Commit

Permalink
Update API calls for Solr 7
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Constabaris committed Mar 5, 2018
1 parent e57c181 commit c543f05
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
18 changes: 15 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

<groupId>groupId</groupId>
<artifactId>umich_solr_library_filters</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.1-SNAPSHOT</version>

<properties>
<solr.version>5.3.0</solr.version>
<solr.version>7.2.1</solr.version>
</properties>


Expand All @@ -31,7 +31,19 @@

<build>
<finalName>lucene-umich-solr-filters-${solr.version}.${project.version}</finalName>
<sourceDirectory>src/java</sourceDirectory>
<sourceDirectory>src/java</sourceDirectory>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>


Expand Down
3 changes: 1 addition & 2 deletions src/java/edu/umich/lib/solr_filters/LCCallNoFilter.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package edu.umich.lib.solr.analysis;
package edu.umich.lib.solr_filters;

import edu.umich.lib.normalizers.LCCallNumberNormalizer;
import org.apache.lucene.analysis.tokenattributes.CharTermAttribute;
import org.apache.lucene.analysis.TokenFilter;
import org.apache.lucene.analysis.Token;
import org.apache.lucene.analysis.TokenStream;
import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* and open the template in the editor.
*/

package edu.umich.lib.solr.analysis;
package edu.umich.lib.solr_filters;
import java.util.Map;
import org.apache.lucene.analysis.util.TokenFilterFactory;
import org.apache.lucene.analysis.TokenStream;
Expand Down
1 change: 0 additions & 1 deletion src/java/org/solrmarc/callnum/LCCallNumber.java
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,6 @@ protected void init() {
/**
* This parse can be used in conjunction with the empty constructor
*/
@Override
public void parse(String call) {
init();
this.rawCallNum = call;
Expand Down

0 comments on commit c543f05

Please sign in to comment.