Skip to content

Commit

Permalink
working in home..
Browse files Browse the repository at this point in the history
  • Loading branch information
bleujin committed May 2, 2013
1 parent b7f993d commit 85b962b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file added publish/isearcher_3.6.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions test/net/ion/nsearcher/common/TestMyDocument.java
Expand Up @@ -44,8 +44,8 @@ public void testAllSame() throws Exception {
Document doc = writeDoc.toLuceneDoc() ;
ReadDocument loadDoc = MyDocument.loadDocument(doc) ;

for (Fieldable field : writeDoc.getFields()) {
assertEquals(field.stringValue(), loadDoc.get(field.name())) ;
for (MyField field : writeDoc.getFields()) {
assertEquals(field.indexField().stringValue(), loadDoc.get(field.name())) ;
}

for (Fieldable field : loadDoc.getFields()) {
Expand Down
4 changes: 2 additions & 2 deletions test/net/ion/nsearcher/common/TestMyFileld.java
Expand Up @@ -23,15 +23,15 @@ public void testUnknown() throws Exception {
doc.add(MyField.unknown("double", 10.0d)) ;
doc.add(MyField.unknown("float", 10.0f)) ;

for(Fieldable f : doc.getFields()){
for(MyField f : doc.getFields()){
Debug.line(f) ;
}
}

public void testMap() throws Exception {
WriteDocument doc = createSampleDoc();

for(Fieldable f : doc.getFields()){
for(MyField f : doc.getFields()){
Debug.line(f) ;
}
}
Expand Down

0 comments on commit 85b962b

Please sign in to comment.