mirror of https://github.com/apache/lucene.git
minor fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150850 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cfc8c67549
commit
71607a59dd
|
@ -198,9 +198,6 @@ public class LuceneStorage implements DocumentStorage
|
||||||
public WebDocument store(WebDocument webDoc)
|
public WebDocument store(WebDocument webDoc)
|
||||||
{
|
{
|
||||||
//System.out.println("storing " + webDoc.getUrl());
|
//System.out.println("storing " + webDoc.getUrl());
|
||||||
boolean store = false;
|
|
||||||
boolean index = false;
|
|
||||||
boolean token = false;
|
|
||||||
|
|
||||||
Document doc = new Document();
|
Document doc = new Document();
|
||||||
int flags;
|
int flags;
|
||||||
|
@ -225,6 +222,7 @@ public class LuceneStorage implements DocumentStorage
|
||||||
addField(doc, fieldName, (String)field, STORE | INDEX);
|
addField(doc, fieldName, (String)field, STORE | INDEX);
|
||||||
}
|
}
|
||||||
/* else ? */
|
/* else ? */
|
||||||
|
// ignore byte[] fields
|
||||||
}
|
}
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue