Mercurial Hosting > luan
comparison lucene/src/luan/modules/lucene/LuceneIndex.java @ 426:23a93c118042
fix LuanTable.get() to use metatables
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 01 May 2015 18:44:20 -0600 |
parents | 23b99a5039b5 |
children | dae264ad6a7b |
comparison
equal
deleted
inserted
replaced
425:0a2fb80907f9 | 426:23a93c118042 |
---|---|
117 switch(td.totalHits) { | 117 switch(td.totalHits) { |
118 case 0: | 118 case 0: |
119 break; // do nothing | 119 break; // do nothing |
120 case 1: | 120 case 1: |
121 LuanTable doc = searcher.doc(luan,td.scoreDocs[0].doc); | 121 LuanTable doc = searcher.doc(luan,td.scoreDocs[0].doc); |
122 idLim = (Long)doc.get(FLD_NEXT_ID); | 122 idLim = (Long)doc.rawGet(FLD_NEXT_ID); |
123 id = idLim; | 123 id = idLim; |
124 break; | 124 break; |
125 default: | 125 default: |
126 throw new RuntimeException(); | 126 throw new RuntimeException(); |
127 } | 127 } |