Skip to content

Apache Lucene open-source search software

minor fix

cmarschner71607a59dd1c
diff --git a/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/storage/LuceneStorage.java b/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/storage/LuceneStorage.java
index f2b849a7394..e421caf5c7b 100644
--- a/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/storage/LuceneStorage.java
+++ b/sandbox/contributions/webcrawler-LARM/src/de/lanlab/larm/storage/LuceneStorage.java
@@ -198,9 +198,6 @@ public class LuceneStorage implements DocumentStorage
public WebDocument store(WebDocument webDoc)
{
//System.out.println("storing " + webDoc.getUrl());
- boolean store = false;
- boolean index = false;
- boolean token = false;
Document doc = new Document();
int flags;
@@ -225,6 +222,7 @@ public class LuceneStorage implements DocumentStorage
addField(doc, fieldName, (String)field, STORE | INDEX);
}
/* else ? */
+ // ignore byte[] fields
}
try
{