Skip to content

Commit

Permalink
Release 0.9.1: Solr 9.7 compatibility, fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaiter committed Sep 13, 2024
1 parent 2eb0eee commit 2780ad2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
10 changes: 9 additions & 1 deletion docs/changes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
## Unreleased
## 0.9.1 (2024-09-13)
[GitHub Release](https://github.com/dbmdz/solr-ocrhighlighting/releases/tag/0.9.1)

**Changed**
- During indexing, we now only need a single pass through the input files, instead of
two, this is in preparation for the S3 storage backend, where we don't have the luxury
of relying on a page cache to paper over our inefficencies.

**Fixed**
- Fix bug that resulted in missed matches during highlighting (#442, thanks @schmika!)
- Fix bug that resulted in incomplete reads from the input file under some circumstances (#441, thanks @schmika!)
- Compatibility with Solr 9.7

## 0.9.0 (2024-06-12)
Expand Down
2 changes: 1 addition & 1 deletion docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ your Solrcloud cluster. All paths are relative to the Solr installation director
`$ ./bin/solr package add-repo dbmdz.github.io https://dbmdz.github.io/solr`
- **Install package** in the latest version:<br>
`$ ./bin/solr package install ocrhighlighting` if you're on Solr 9, otherwise:
`$ ./bin/solr package install ocrhighlighting:0.9.0-solr78`
`$ ./bin/solr package install ocrhighlighting:0.9.1-solr78`

!!! caution "Be sure to use the `ocrhighlighting:` prefix when specifying classes in your configuration."
When using the Package Manager, classes from plugins have to be prefixed (separated by a colon) by
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>de.digitalcollections</groupId>
<artifactId>solr-ocrhighlighting</artifactId>
<version>0.9.1-SNAPSHOT</version>
<version>0.9.1</version>

<name>Solr OCR Highlighting Plugin</name>
<description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
import org.apache.lucene.search.uhighlight.FieldOffsetStrategy;
import org.apache.lucene.search.uhighlight.OffsetsEnum;
import org.apache.lucene.search.uhighlight.Passage;
import org.apache.lucene.search.uhighlight.PassageFormatter;
import org.apache.lucene.search.uhighlight.PassageScorer;
import org.apache.lucene.search.uhighlight.UnifiedHighlighter;
import org.apache.lucene.util.BytesRef;
Expand Down

0 comments on commit 2780ad2

Please sign in to comment.