Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions montysolr/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ dependencies {

implementation("com.google.guava:guava:33.2.1-jre")
implementation("com.anyascii:anyascii:0.3.2")
implementation("org.mapdb:mapdb:3.0.10")
//implementation("org.python:jython-standalone:2.7.3")
implementation(project(":jython"))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,9 @@ public void process(int docBase, int docId) throws IOException {
if (errs > 5)
return;
if (dv.advanceExact(docId)) {
for (long ord = dv.nextOrd(); ord != SortedSetDocValues.NO_MORE_ORDS; ord = dv.nextOrd()) {
int count = dv.docValueCount();
for (int i = 0; i < count; i++) {
long ord = dv.nextOrd();
final BytesRef value = dv.lookupOrd(ord);
setter.set(docBase, docId, value.utf8ToString().toLowerCase()); // XXX: even if we apply
// tokenization, doc
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,9 @@ public void process(int docBase, int docId) throws IOException {
if (errs > 5)
return;
if (dv.advanceExact(docId)) {
for (long ord = dv.nextOrd(); ord != SortedSetDocValues.NO_MORE_ORDS; ord = dv.nextOrd()) {
int count = dv.docValueCount();
for (int i = 0; i < count; i++) {
long ord = dv.nextOrd();
final BytesRef value = dv.lookupOrd(ord);
setter.set(docBase, docId, value.utf8ToString().toLowerCase()); // XXX: even if we apply tokenization, doc values ignore it
}
Expand Down
Loading